remove debug_package nil

This commit is contained in:
Jean-Philippe Pialasse 2024-03-12 22:43:23 -04:00
parent f65560d924
commit a9b29d39b1

View File

@ -4,7 +4,7 @@ Name: buildsys-macros
Summary: Macros for the Fedora Buildsystem
# The value for version should match the version of Fedora Core.
Version: 8
Release: 1%{?dist}
Release: 2%{?dist}
License: GPL
Group: Development/Buildsystem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -26,8 +26,8 @@ printf %s%b "%" "rhel $VERSION\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
printf %s%b "%" "dist .el$VERSION.sme\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
printf %s%b "%" "el$VERSION 1\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.disttag
printf %s%b "%" "__arch_install_post /usr/lib/rpm/check-buildroot\n" >> $RPM_BUILD_ROOT/etc/rpm/macros.checkbuild
printf %s%b "%" "debug_package %%{nil}\n">> $RPM_BUILD_ROOT/etc/rpm/macros
printf %s%b "%" "__debug_package 0\n ">> $RPM_BUILD_ROOT/etc/rpm/macros
#printf %s%b "%" "debug_package %%{nil}\n">> $RPM_BUILD_ROOT/etc/rpm/macros
#printf %s%b "%" "__debug_package 0\n ">> $RPM_BUILD_ROOT/etc/rpm/macros
%clean
rm -rf $RPM_BUILD_ROOT
@ -39,6 +39,9 @@ rm -rf $RPM_BUILD_ROOT
/etc/rpm/macros
%changelog
* Tue Mar 12 2024 Jean-Philippe Pialasse <tests@pialasse.com> 8-2.sme
- remove __debug_package 0
* Tue Mar 12 2024 Jean-Philippe Pialasse <tests@pialasse.com> 8-1.sme
- up macro for el8
- add macro __debug_package 0