Hi,

I'm trying to rebuild a package without it producing a debug package.

I read in this ML that adding:

%define _enable_debug_packages 0

to the .spec file was supposed to do the trick. But it doesn't.

flipping over the "1" to a "0" in /usr/lib/rpm/macros also doesn't work. Neither does flipping
"%global __debug_package 1" to "%global __debug_package 0".

Is it possible to turn off this feature? Preferably in the ~/.rpmmacros file...

regards,

Stefan

PS: I end up getting this. I was hoping that by turning off -debug support it would skip making this package.

Processing files: rpm-debug-4.2-7mdk
error: Could not open %files file /usr/src/RPM/BUILD/rpm-4.2/debugfiles.list: No such file or directory


RPM build errors:
Could not open %files file /usr/src/RPM/BUILD/rpm-4.2/debugfiles.list: No such file or director

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to