fix strip

(cherry picked from commit b86ba715d9b32bb35a54d485c457d322cf0b93e3)
This commit is contained in:
chen-jan 2023-08-28 17:14:52 +08:00 committed by openeuler-sync-bot
parent 1acf680f3d
commit 783c3d419c

View File

@ -1,7 +1,7 @@
%global debug_package %{nil} %global debug_package %{nil}
Name: pbzip2 Name: pbzip2
Version: 1.1.13 Version: 1.1.13
Release: 2 Release: 3
Summary: Parallel implementation of the bzip2 block-sorting file compressor Summary: Parallel implementation of the bzip2 block-sorting file compressor
License: BSD License: BSD
URL: http://www.compression.ca/pbzip2/ 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 %build
%set_build_flags %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 %install
@ -47,6 +47,9 @@ popd
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %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 * Thu Jul 13 2023 xu_ping <707078654@qq.com> - 1.1.13-2
- add pie options to fix link error - add pie options to fix link error