From a95d95120a0cf090477bf118c64a0af56dcdc377 Mon Sep 17 00:00:00 2001 From: cherry530 <707078654@qq.com> Date: Thu, 13 Jul 2023 12:40:31 +0800 Subject: [PATCH] fix link error Signed-off-by: cherry530 <707078654@qq.com> --- pbzip2.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pbzip2.spec b/pbzip2.spec index 5969a0b..4d39696 100644 --- a/pbzip2.spec +++ b/pbzip2.spec @@ -1,7 +1,7 @@ %global debug_package %{nil} Name: pbzip2 Version: 1.1.13 -Release: 1 +Release: 2 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}" +%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="%{__global_ldflags} -fpie -pie" %install @@ -47,6 +47,9 @@ popd %{_mandir}/man1/* %changelog +* Thu Jul 13 2023 xu_ping <707078654@qq.com> - 1.1.13-2 +- add pie options to fix link error + * Fri Feb 03 2023 wenchaofan <349464272@qq.com> - 1.1.13-1 - Update to 1.1.13