debug_package nil

This commit is contained in:
Jean-Philippe Pialasse 2024-03-12 21:41:05 -04:00
parent c2090fc36d
commit f65560d924

View File

@ -3,7 +3,7 @@
Name: buildsys-macros Name: buildsys-macros
Summary: Macros for the Fedora Buildsystem Summary: Macros for the Fedora Buildsystem
# The value for version should match the version of Fedora Core. # The value for version should match the version of Fedora Core.
Version: 7 Version: 8
Release: 1%{?dist} Release: 1%{?dist}
License: GPL License: GPL
Group: Development/Buildsystem Group: Development/Buildsystem
@ -26,7 +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 "%" "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 "%" "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 "%" "__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
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
@ -35,8 +36,13 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root) %defattr(-,root,root)
/etc/rpm/macros.disttag /etc/rpm/macros.disttag
/etc/rpm/macros.checkbuild /etc/rpm/macros.checkbuild
/etc/rpm/macros
%changelog %changelog
* Tue Mar 12 2024 Jean-Philippe Pialasse <tests@pialasse.com> 8-1.sme
- up macro for el8
- add macro __debug_package 0
* Wed Jul 12 2023 BogusDateBot * Wed Jul 12 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, - Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday. by assuming the date is correct and changing the weekday.