Make a temporary copy of the debug_package macro so that we get the noarch fix

This commit is contained in:
Alexander Larsson 2002-12-13 17:13:18 +00:00
parent cec7d078f8
commit d18a947668
1 changed files with 16 additions and 0 deletions

16
macros
View File

@ -92,6 +92,22 @@
%{__os_install_post}\
%{nil}
# Template for debug information sub-package.
# NOTE: This is a copy from rpm to get the ifnarch noarch fix, it can be removed later
%debug_package \
%ifnarch noarch\
%global __debug_package 1\
%package debug\
Summary: Debug information for package %{name}\
Group: Development/Debug\
%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}
# Bad hack to set $LANG to C during all RPM builds
%prep \