!23 [sync] PR-18: do not remove info/dir by default

From: @openeuler-sync-bot 
Reviewed-by: @liqingqing_1229 
Signed-off-by: @liqingqing_1229
This commit is contained in:
openeuler-ci-bot 2025-02-13 00:58:54 +00:00 committed by Gitee
commit bf1d54e391
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
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: "."