[mingw-libpng: 17/25] Removed static libs from the main package
Kalev Lember
kalev at fedoraproject.org
Tue Mar 6 19:40:48 UTC 2012
commit b6236ad3445bb4f2615736c9d1391f895d74653c
Author: Kalev Lember <kalevlember at gmail.com>
Date: Fri Jul 22 13:09:32 2011 +0300
Removed static libs from the main package
If anyone needs the static libs, these should go into -static subpackage
instead, along with libpng.a which wasn't properly packaged up earlier
either.
mingw32-libpng.spec | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/mingw32-libpng.spec b/mingw32-libpng.spec
index 5c04260..3cfcc7c 100644
--- a/mingw32-libpng.spec
+++ b/mingw32-libpng.spec
@@ -47,7 +47,7 @@ MinGW Windows Libpng library.
%build
-%{_mingw32_configure}
+%{_mingw32_configure} --disable-static
make
@@ -56,8 +56,6 @@ rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-rm $RPM_BUILD_ROOT%{_mingw32_libdir}/libpng.a
-
# No need to distribute manpages which appear in the Fedora
# native packages already.
rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
@@ -78,7 +76,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_includedir}/pngconf.h
%{_mingw32_libdir}/libpng.dll.a
%{_mingw32_libdir}/libpng.la
-%{_mingw32_libdir}/libpng14.a
%{_mingw32_libdir}/libpng14.dll.a
%{_mingw32_libdir}/libpng14.la
%{_mingw32_libdir}/pkgconfig/libpng.pc
@@ -89,6 +86,7 @@ rm -rf $RPM_BUILD_ROOT
* Fri Jul 22 2011 Kalev Lember <kalevlember at gmail.com> - 1.4.8-1
- Update to 1.4.8 (CVE-2011-2690, CVE-2011-2692)
- Generate debuginfo subpackage
+- Removed static libs from the main package
* Wed Jun 29 2011 Richard W.M. Jones <rjones at redhat.com> - 1.4.3-3
- Include fix for CVE-2011-2501 (RHBZ#717510, RHBZ#717511).
More information about the mingw
mailing list