Hi,
Would you add a brief rationale in the specfile about this exception? A
comment with a reference to a bug report or something else...
It would help if in the future the reason is no longer present and the
exception can be removed. After all, for obvious security reasons,
fedora should not be encouraging static linking of image handling
libraries.
Thanks.
Yanko
On Mon, 2006-05-22 at 15:46 -0400, fedora-cvs-commits(a)redhat.com wrote:
Author: mclasen
Update of /cvs/dist/rpms/libpng/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv2918
Modified Files:
libpng.spec
Log Message:
Re-add static libraries
Index: libpng.spec
===================================================================
RCS file: /cvs/dist/rpms/libpng/devel/libpng.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- libpng.spec 4 May 2006 13:39:29 -0000 1.28
+++ libpng.spec 22 May 2006 19:46:20 -0000 1.29
@@ -1,7 +1,7 @@
Summary: A library of functions for manipulating PNG image format files.
Name: libpng
Version: 1.2.10
-Release: 1
+Release: 2
License: OSI certified
Group: System Environment/Libraries
Source:
ftp://swrinde.nde.swri.edu/pub/png/src/libpng-%{version}.tar.bz2
@@ -48,8 +48,8 @@
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
-rm -rf $RPM_BUILD_ROOT%{_libdir}/libpng.{a,la}
-rm -rf $RPM_BUILD_ROOT%{_libdir}/libpng12.{a,la}
+rm -rf $RPM_BUILD_ROOT%{_libdir}/libpng.la
+rm -rf $RPM_BUILD_ROOT%{_libdir}/libpng12.la
%post -p /sbin/ldconfig
@@ -66,6 +66,7 @@
%{_bindir}/*
%{_includedir}/*
%{_libdir}/libpng*.so
+%{_libdir}/libpng*.a
%{_libdir}/pkgconfig/*
%{_mandir}/man3/*
@@ -73,6 +74,9 @@
rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon May 22 2006 Matthias Clasen <mclasen(a)redhat.com> - 2:1.2.10-2
+- Re-add static libraries
+
* Thu May 4 2006 Matthias Clasen <mclasen(a)redhat.com> - 2:1.2.10-1
- Update to 1.2.10
- Drop static libraries