- remove zlib .so.* packages to /lib

This commit is contained in:
Ivana Varekova 2007-03-23 14:00:47 +00:00
parent 9c9c709489
commit f2633e83ef

View File

@ -1,7 +1,7 @@
Summary: The zlib compression and deprefix=${RPM_BUILD_ROOT}%{_prefix}compression library
Name: zlib
Version: 1.2.3
Release: 9%{?dist}
Release: 10%{?dist}
Group: System Environment/Libraries
Source: http://www.zlib.net/zlib-%{version}.tar.gz
#Patch0: zlib-1.1.4-make-test.patch
@ -45,6 +45,12 @@ rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR=$RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT/%{_lib}/
mv $RPM_BUILD_ROOT/%{_libdir}/libz.so.%{version} $RPM_BUILD_ROOT/%{_lib}/
mv $RPM_BUILD_ROOT/%{_libdir}/libz.so.* $RPM_BUILD_ROOT/%{_lib}/
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}
cp -p zlib.h ${RPM_BUILD_ROOT}%{_includedir}
@ -65,7 +71,7 @@ rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%doc README ChangeLog FAQ
%{_libdir}/libz.so.*
/%{_lib}/libz.so.*
%files devel
%defattr(-,root,root,-)
@ -76,7 +82,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man3/zlib.3*
%changelog
* Fri Mar 9 2007 Ivana Varekova <varekova@redhat.com> -1.2.3-9
* Fri Mar 23 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-10
- remove zlib .so.* packages to /lib
* Fri Mar 9 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-9
- incorporate package review feedback
* Tue Feb 21 2007 Adam Tkac <atkac redhat com> - 1.2.3-8