From fc75c2bd6ee3a915956269f8990b24db0af5ec57 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 15:16:39 +0000 Subject: [PATCH] =?UTF-8?q?auto-import=20changelog=20data=20from=20zlib-1.?= =?UTF-8?q?1.3-22.src.rpm=20Wed=20Feb=2014=202001=20Trond=20Eivind=20Gloms?= =?UTF-8?q?r=F8d=20=20-=20bumped=20version=20number=20-=20?= =?UTF-8?q?this=20is=20the=20old=20version=20without=20the=20performance?= =?UTF-8?q?=20=20=20=20=20enhancements=20Fri=20Sep=2015=202000=20Florian?= =?UTF-8?q?=20La=20Roche=20=20-=20add=20-fPIC?= =?UTF-8?q?=20for=20shared=20libs=20(patch=20by=20Fritz=20Elfert)=20Thu=20?= =?UTF-8?q?Sep=2007=202000=20Jeff=20Johnson=20=20-=20on=20?= =?UTF-8?q?64bit=20systems,=20make=20sure=20libraries=20are=20located=20co?= =?UTF-8?q?rrectly.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zlib.spec | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/zlib.spec b/zlib.spec index 22c9c65..f5f4053 100644 --- a/zlib.spec +++ b/zlib.spec @@ -1,7 +1,7 @@ Summary: The zlib compression and decompression library. Name: zlib Version: 1.1.3 -Release: 12 +Release: 22 Group: System Environment/Libraries Source: ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-%{version}.tar.gz Patch0: zlib-1.1.3-glibc.patch @@ -38,7 +38,7 @@ will use the zlib library. %build -CFLAGS="$RPM_OPT_FLAGS" ./configure --shared --prefix=%{_prefix} +CFLAGS="$RPM_OPT_FLAGS -fPIC" ./configure --shared --prefix=%{_prefix} make # now build the static lib CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} @@ -58,6 +58,12 @@ install -m644 zutil.h ${RPM_BUILD_ROOT}%{_includedir}/zutil.h mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3 install -m644 zlib.3 ${RPM_BUILD_ROOT}%{_mandir}/man3 +if [ "%{_prefix}/lib" != "%{_libdir}" ]; then + mkdir -p ${RPM_BUILD_ROOT}%{_libdir} + mv ${RPM_BUILD_ROOT}%{_prefix}/lib/* ${RPM_BUILD_ROOT}%{_libdir} + rmdir ${RPM_BUILD_ROOT}%{_prefix}/lib +fi + %clean rm -rf ${RPM_BUILD_ROOT} @@ -79,6 +85,15 @@ rm -rf ${RPM_BUILD_ROOT} %{_mandir}/man3/zlib.3* %changelog +* Wed Feb 14 2001 Trond Eivind Glomsrød +- bumped version number - this is the old version without the performance enhancements + +* Fri Sep 15 2000 Florian La Roche +- add -fPIC for shared libs (patch by Fritz Elfert) + +* Thu Sep 7 2000 Jeff Johnson +- on 64bit systems, make sure libraries are located correctly. + * Thu Aug 17 2000 Jeff Johnson - summaries from specspo.