Disable the .package_note awfulness

(cherry picked from commit 48aa8f51b1a8c31fc20d6055748e87badd12ecad)
This commit is contained in:
Funda Wang 2025-03-12 14:34:34 +08:00 committed by openeuler-sync-bot
parent 41fa5769a0
commit 985f2ab384

View File

@ -7,6 +7,7 @@
%global _fortify_level 0
%undefine _hardened_build
%undefine _package_note_flags
%global tarversion 2.12
%if "0%{?product_family}" == "0"
@ -22,7 +23,7 @@
Name: grub2
Epoch: 1
Version: 2.12
Release: 39
Release: 40
Summary: Bootloader with support for Linux, Multiboot and more
License: GPLv3+
URL: http://www.gnu.org/software/grub/
@ -351,7 +352,6 @@ fi
%{_prefix}/lib/kernel/install.d/99-grub-mkconfig.install
%{_sysconfdir}/kernel/install.d/*.install
%dir %attr(0700,root,root) %{efi_esp_dir}
%{_datadir}/locale/*
%files tools
%defattr(-,root,root)
@ -464,6 +464,13 @@ fi
%{_datadir}/man/man*
%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
- Type:CVE
- CVE:CVE-2024-56738