!531 [sync] PR-514: Disable the .package_note awfulness

From: @openeuler-sync-bot 
Reviewed-by: @zhangqiumiao 
Signed-off-by: @zhangqiumiao
This commit is contained in:
openeuler-ci-bot 2025-04-17 09:12:01 +00:00 committed by Gitee
commit c21d2ddacd
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7,6 +7,7 @@
%global _fortify_level 0 %global _fortify_level 0
%undefine _hardened_build %undefine _hardened_build
%undefine _package_note_flags
%global tarversion 2.12 %global tarversion 2.12
%if "0%{?product_family}" == "0" %if "0%{?product_family}" == "0"
@ -22,7 +23,7 @@
Name: grub2 Name: grub2
Epoch: 1 Epoch: 1
Version: 2.12 Version: 2.12
Release: 39 Release: 40
Summary: Bootloader with support for Linux, Multiboot and more Summary: Bootloader with support for Linux, Multiboot and more
License: GPLv3+ License: GPLv3+
URL: http://www.gnu.org/software/grub/ URL: http://www.gnu.org/software/grub/
@ -351,7 +352,6 @@ fi
%{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install %{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install
%{_sysconfdir}/kernel/install.d/*.install %{_sysconfdir}/kernel/install.d/*.install
%dir %attr(0700,root,root) %{efi_esp_dir} %dir %attr(0700,root,root) %{efi_esp_dir}
%{_datadir}/locale/*
%files tools %files tools
%defattr(-,root,root) %defattr(-,root,root)
@ -464,6 +464,13 @@ fi
%{_datadir}/man/man* %{_datadir}/man/man*
%changelog %changelog
* Tue Apr 08 2025 Funda Wang <fundawang@yeah.net> - 1:2.12-40
- requirement
- CVE:NA
- SUG:NA
- DESC: Disable the .package_note awfulness
- DESC: drop duplicate list of locale files
* Thu Feb 20 2025 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-39 * Thu Feb 20 2025 zhangqiumiao <zhangqiumiao1@huawei.com> - 1:2.12-39
- Type:CVE - Type:CVE
- CVE:CVE-2024-56738 - CVE:CVE-2024-56738