[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/zlib/devel zlib.spec,1.38,1.39



Author: varekova

Update of /cvs/pkgs/rpms/zlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8183

Modified Files:
	zlib.spec 
Log Message:
- remove .so,.a



Index: zlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zlib/devel/zlib.spec,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- zlib.spec	21 May 2007 08:57:37 -0000	1.38
+++ zlib.spec	21 May 2007 11:11:22 -0000	1.39
@@ -1,7 +1,7 @@
 Summary: The zlib compression and decompression library
 Name: zlib
 Version: 1.2.3
-Release: 12%{?dist}
+Release: 13%{?dist}
 Group: System Environment/Libraries
 Source: http://www.zlib.net/zlib-%{version}.tar.gz
 #Patch0: zlib-1.1.4-make-test.patch
@@ -43,9 +43,14 @@
 %install
 rm -rf ${RPM_BUILD_ROOT}
 
-make install DESTDIR=$RPM_BUILD_ROOT libdir=/%{_lib}
+make install DESTDIR=$RPM_BUILD_ROOT  libdir=/%{_lib}
 
-ln -sf ../%{_lib}/libz.so.%{version} $RPM_BUILD_ROOT/%{_lib}/libz.so
+mkdir $RPM_BUILD_ROOT%{_prefix}
+mkdir $RPM_BUILD_ROOT%{_libdir}/
+mv $RPM_BUILD_ROOT/%{_lib}/libz.a $RPM_BUILD_ROOT/%{_libdir}/
+mv $RPM_BUILD_ROOT/%{_lib}/libz.so $RPM_BUILD_ROOT/%{_libdir}/
+
+ln -sf ../../%{_lib}/libz.so.%{version} $RPM_BUILD_ROOT/%{_libdir}/libz.so
 
 mkdir -p ${RPM_BUILD_ROOT}%{_includedir}
 cp -p zconf.h ${RPM_BUILD_ROOT}%{_includedir}
@@ -72,12 +77,15 @@
 %files devel
 %defattr(-,root,root,-)
 %doc algorithm.txt minigzip.c example.c
-/%{_lib}/*.a
-/%{_lib}/*.so
+%{_libdir}/*.a
+%{_libdir}/*.so
 %{_includedir}/*
 %{_mandir}/man3/zlib.3*
 
 %changelog
+* Mon May 21 2007 Ivana Varekova <varekova redhat com> - 1.2.3-13
+- remove .so,.a
+
 * Mon May 21 2007 Ivana Varekova <varekova redhat com> - 1.2.3-12
 - Resolves #240277
   Move libz to /lib(64)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]