rpms/zziplib/devel zziplib.spec,1.9,1.10
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Tue Jun 19 18:20:04 UTC 2007
Author: thias
Update of /cvs/extras/rpms/zziplib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12962
Modified Files:
zziplib.spec
Log Message:
Minor cleanups.
Index: zziplib.spec
===================================================================
RCS file: /cvs/extras/rpms/zziplib/devel/zziplib.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- zziplib.spec 26 Mar 2007 11:16:43 -0000 1.9
+++ zziplib.spec 19 Jun 2007 18:19:28 -0000 1.10
@@ -1,7 +1,7 @@
Summary: Lightweight library to easily extract data from zip files
Name: zziplib
Version: 0.13.49
-Release: 1%{?dist}
+Release: 2%{?dist}
License: LGPL/MPL
Group: Applications/Archiving
URL: http://zziplib.sourceforge.net/
@@ -54,14 +54,18 @@
%build
%configure \
+ --disable-static \
--enable-sdl \
--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}
%install
%{__rm} -rf %{buildroot}
-%makeinstall
+%{__make} install DESTDIR=%{buildroot}
%clean
@@ -86,7 +90,6 @@
%defattr(-,root,root,-)
%doc docs/README.SDL docs/*.htm
%{_includedir}/*
-%exclude %{_libdir}/*.a
%exclude %{_libdir}/*.la
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
@@ -96,6 +99,11 @@
%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
- Update to 0.13.49 to fix CVE-2007-1614 (rhbz #233700).
- Include new man3 pages to the devel sub-package.
More information about the fedora-extras-commits
mailing list