PuTTY 0.54 rpms (http://www.chiark.greenend.org.uk/~sgtatham/putty/)

Carwyn Edwards carwyn at carwyn.com
Fri Feb 20 18:29:47 UTC 2004


Gavin Henry wrote:

>>Make sure rpm is configured to refuse to generate packages if any
>>files have been installed in the buildroot which are not listed
>>in the %files section.  That is the default if you install
>>redhat-rpm-config.
>>    
>>
>
>I uninstalled this to stop the debug rpms being built. Is there another way?
>  
>
Well given the definition that creates it in /usr/lib/rpm/macros is:

%debug_package \
%ifnarch noarch\
%global __debug_package 1\
%package debug\
Summary: Debug information for package %{name}\
Group: Development/Debug\
AutoReqProv: 0\
%description debug\
This package provides debug information for package %{name}.\
Debug information is useful when developing applications that use this\
package or when debugging this package.\
%files debug -f debugfiles.list\
%defattr(-,root,root)\
%endif\
%{nil}

Putting:

%debug_package   %{nil}

.. in your $HOME/.rpmmacros file is one way is it not?

Carwyn





More information about the fedora-devel-list mailing list