Minor cleanups.
This commit is contained in:
parent
b418235890
commit
4f39fc9e0c
14
zziplib.spec
14
zziplib.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: Lightweight library to easily extract data from zip files
|
Summary: Lightweight library to easily extract data from zip files
|
||||||
Name: zziplib
|
Name: zziplib
|
||||||
Version: 0.13.49
|
Version: 0.13.49
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: LGPL/MPL
|
License: LGPL/MPL
|
||||||
Group: Applications/Archiving
|
Group: Applications/Archiving
|
||||||
URL: http://zziplib.sourceforge.net/
|
URL: http://zziplib.sourceforge.net/
|
||||||
@ -54,14 +54,18 @@ zziplib library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
|
--disable-static \
|
||||||
--enable-sdl \
|
--enable-sdl \
|
||||||
--enable-frame-pointer
|
--enable-frame-pointer
|
||||||
|
# Remove rpath on 64bit archs
|
||||||
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' */libtool
|
||||||
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' */libtool
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%{__rm} -rf %{buildroot}
|
%{__rm} -rf %{buildroot}
|
||||||
%makeinstall
|
%{__make} install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -86,7 +90,6 @@ zziplib library.
|
|||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc docs/README.SDL docs/*.htm
|
%doc docs/README.SDL docs/*.htm
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%exclude %{_libdir}/*.a
|
|
||||||
%exclude %{_libdir}/*.la
|
%exclude %{_libdir}/*.la
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
@ -96,6 +99,11 @@ zziplib library.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.13.49-2
|
||||||
|
- Disable static lib build instead of excluding it later.
|
||||||
|
- Remove rpath on 64bit archs.
|
||||||
|
- Switch to using DESTDIR install method.
|
||||||
|
|
||||||
* Mon Mar 26 2007 Matthias Saou <http://freshrpms.net/> 0.13.49-1
|
* Mon Mar 26 2007 Matthias Saou <http://freshrpms.net/> 0.13.49-1
|
||||||
- Update to 0.13.49 to fix CVE-2007-1614 (rhbz #233700).
|
- Update to 0.13.49 to fix CVE-2007-1614 (rhbz #233700).
|
||||||
- Include new man3 pages to the devel sub-package.
|
- Include new man3 pages to the devel sub-package.
|
||||||
|
Loading…
Reference in New Issue
Block a user