[zlib/f16] - resolves: #832545 recompiled with -fPIC flag

pschiffe pschiffe at fedoraproject.org
Thu Aug 2 13:21:28 UTC 2012


commit e8924bd92dac91e136daec783b96aa7d7f639b76
Author: Peter Schiffer <pschiffe at redhat.com>
Date:   Thu Aug 2 15:20:42 2012 +0200

    - resolves: #832545
      recompiled with -fPIC flag

 zlib.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/zlib.spec b/zlib.spec
index c7c0934..c629ec7 100644
--- a/zlib.spec
+++ b/zlib.spec
@@ -1,7 +1,7 @@
 Summary: The zlib compression and decompression library
 Name: zlib
 Version: 1.2.5
-Release: 6%{?dist}
+Release: 7%{?dist}
 Group: System Environment/Libraries
 Source: http://www.zlib.net/zlib-%{version}.tar.bz2
 Patch3: zlib-1.2.4-autotools.patch
@@ -73,7 +73,8 @@ iconv -f windows-1252 -t utf-8 <ChangeLog >ChangeLog.tmp
 mv ChangeLog.tmp ChangeLog
 
 %build
-CFLAGS=$RPM_OPT_FLAGS ./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
+export CFLAGS="$RPM_OPT_FLAGS -fPIC"
+./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
 make %{?_smp_mflags}
 
 cd contrib/minizip
@@ -145,6 +146,10 @@ rm -rf ${RPM_BUILD_ROOT}
 %{_libdir}/pkgconfig/minizip.pc
 
 %changelog
+* Thu Aug 02 2012 Peter Schiffer <pschiffe at redhat.com> - 1.2.5-7
+- resolves: #832545
+  recompiled with -fPIC flag
+
 * Tue Jan 10 2012 Peter Schiffer <pschiffe at redhat.com> - 1.2.5-6
 - resolves: #719139
   Zlib fails to read zip64 files on 64-bit system


More information about the scm-commits mailing list