Rpmbuild

From Leo's Notes
Last edited on 12 September 2019, at 05:05.

Troubleshooting

rpmbuild: error: Bad exit status from /tmp/ (%install)

If you encounter an error similar to:

extracting debug info from /home/leo/rpmbuild/BUILDROOT/processing-1-5.1.x86_64o
*** ERROR: No build ID note found in /home/leo/rpmbuild/BUILDROOT/processing-1-o
error: Bad exit status from /var/tmp/rpm-tmp.WmvEiC (%install)

Add the following to your .spec file:

%define debug_package %{nil}