[lug] building SRPM's
Kevin Fenzi
kevin at scrye.com
Thu Jul 14 11:27:28 MDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
>>>>> "D" == D Stimits <stimits at comcast.net> writes:
D> In trying to build my SRPM for my library, it does create the SRPM,
D> but fails to --rebuild. The temp script always tries to cd to
D> %{name}-%{version}, which exists in the BUILD directory from
D> unpacking the tarball. Only this fails, because it is trying to cd
D> there from somewhere else...probably from the SOURCE directory. Can
D> anyone tell me, in the SRPM's spec file, am I missing something
D> that is causing it to try to cd to the unpack spot starting in the
D> wrong parent directory?
Can you post the output of the 'rpm --rebuild' command on the src.rpm?
It should go through:
%prep
%setup
%build
the %setup macro unpacks the source in BUILD and cd's into it.
In each section the current working directory is reset to the top
level of the SOURCE directory.
D> D. Stimits, stimits AT comcast DOT net
kevin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFC1qCC3imCezTjY0ERAm6SAJ9Fnaw7q2EGv1hzcFa9rA43T9gUlACaAtgS
Xa4aT5HBI4l3+D7azyxxpow=
=wWuo
-----END PGP SIGNATURE-----
More information about the LUG
mailing list