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
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list