[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
SOLVED: rpmbuild -ba builds source but not binary RPM
- From: Josh Miller <joshua itsecureadmin com>
- To: rpm-list redhat com
- Subject: SOLVED: rpmbuild -ba builds source but not binary RPM
- Date: Thu, 03 Jan 2008 12:09:24 -0800
Josh Miller wrote:
I have an issue where I build an RPM using 'rpmbuild -ba <spec file>'
and it builds the packages and writes a source RPM, but there are no
binaries written out and no errors. Any idea what would cause this? I
also tried with rpmbuild -bb with no luck.
It turns out that the problem with my SPEC file was that I had an errant
% that was not doing anything constructive.
ie:
install -d %(buildroot}/usr/share/%{pkg_name}
which should have been:
install -d %{buildroot}/usr/share/%{pkg_name}
Note that in the first line, there is a '(' just after the '%'. This
caused the build to bail on the install portion of the build. I caught
this after reviewing the Fedora RPM guide and seeing a note about errant
percent signs.
Regards,
--
Joshua M. Miller - RHCE,VCP
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]