do not remove info/dir by default

(cherry picked from commit 3fa9bdb868b4c5dc9070ebe6d80d37a6c933d0d9)
This commit is contained in:
Funda Wang 2025-01-28 13:26:27 +08:00 committed by openeuler-sync-bot
parent 741d92b816
commit f40563e0d6
2 changed files with 9 additions and 5 deletions

View File

@ -1,8 +1,9 @@
%global debug_package %{nil}
%global _newlib newlib
%global __brp_remove_info_dir %{nil}
Name: newlib
Version: 3.3.0
Release: 5
Release: 6
Summary: Newlib is a C library intended for use on embedded systems.
License: BSD
@ -43,7 +44,7 @@ cd ..
%install
rm -rf %{buildroot}
export AM_UPDATE_INFO_DIR=yes
cd build-newlib
make DESTDIR=%{buildroot}%{_prefix}/%{_newlib} install install-info
cd ..
@ -64,6 +65,9 @@ cd ..
%changelog
* Wed Feb 12 2025 Funda Wang <fundawang@yeah.net> - 3.3.0-6
- do not remove info/dir by default
* Wed Sep 25 2024 changtao <changtao@kylinos.cn> - 3.3.0-5
- fix CVE-2024-30949

View File

@ -1,4 +1,4 @@
version_control: git
src_repo: git://sourceware.org/git/newlib-cygwin.git
tag_prefix: "^newlib-"
version_control: git
src_repo: git://sourceware.org/git/newlib-cygwin.git
tag_prefix: "^newlib-"
separator: "."