!11 [sync] PR-10: fix strip

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-08-28 08:06:17 +00:00 committed by Gitee
commit dc154a461e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,7 +1,7 @@
%global debug_package %{nil}
Name: pbzip2
Version: 1.1.13
Release: 2
Release: 3
Summary: Parallel implementation of the bzip2 block-sorting file compressor
License: BSD
URL: http://www.compression.ca/pbzip2/
@ -24,7 +24,7 @@ f=AUTHORS; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 && mv $f.utf8 $f && alias r
%build
%set_build_flags
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags} -fpie -pie"
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags} -s -fpie -pie"
%install
@ -47,6 +47,9 @@ popd
%{_mandir}/man1/*
%changelog
* Mon Aug 28 2023 chenchen <chen_aka_jan@163.com> - 1.1.13-3
- fix strip
* Thu Jul 13 2023 xu_ping <707078654@qq.com> - 1.1.13-2
- add pie options to fix link error