parent
9bfa9f1c87
commit
31641b08e8
10
zlib.spec
10
zlib.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: The zlib compression and decompression library
|
Summary: The zlib compression and decompression library
|
||||||
Name: zlib
|
Name: zlib
|
||||||
Version: 1.2.3
|
Version: 1.2.3
|
||||||
Release: 21%{?dist}
|
Release: 22%{?dist}
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Source: http://www.zlib.net/zlib-%{version}.tar.gz
|
Source: http://www.zlib.net/zlib-%{version}.tar.gz
|
||||||
Patch3: zlib-1.2.3-autotools.patch
|
Patch3: zlib-1.2.3-autotools.patch
|
||||||
@ -80,6 +80,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|||||||
mkdir $RPM_BUILD_ROOT/%{_lib}
|
mkdir $RPM_BUILD_ROOT/%{_lib}
|
||||||
mv $RPM_BUILD_ROOT%{_libdir}/libz.so.* $RPM_BUILD_ROOT/%{_lib}/
|
mv $RPM_BUILD_ROOT%{_libdir}/libz.so.* $RPM_BUILD_ROOT/%{_lib}/
|
||||||
|
|
||||||
|
reldir=$(echo %{_libdir} | sed 's,/$,,;s,/[^/]\+,../,g')
|
||||||
|
oldlink=$(readlink $RPM_BUILD_ROOT%{_libdir}/libz.so)
|
||||||
|
ln -sf $reldir$(basename $oldlink) $RPM_BUILD_ROOT%{_libdir}/libz.so
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
|
|
||||||
@ -125,9 +129,13 @@ rm -rf ${RPM_BUILD_ROOT}
|
|||||||
%{_libdir}/pkgconfig/minizip.pc
|
%{_libdir}/pkgconfig/minizip.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 18 2009 Stepan Kasal <skasal@redhat.com> - 1.2.3-22
|
||||||
|
- fix the libz.so symlink
|
||||||
|
|
||||||
* Tue Mar 17 2009 Stepan Kasal <skasal@redhat.com> - 1.2.3-21
|
* Tue Mar 17 2009 Stepan Kasal <skasal@redhat.com> - 1.2.3-21
|
||||||
- consolidate the autoconfiscation patches into one and clean it up
|
- consolidate the autoconfiscation patches into one and clean it up
|
||||||
- consequently, clean up the %%build and %%install sections
|
- consequently, clean up the %%build and %%install sections
|
||||||
|
- zconf.h includes unistd.h again (#479133)
|
||||||
|
|
||||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-20
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-20
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user