- Remove static libraries.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 10 Sep 2008 16:54:25 +0000 (17:54 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 10 Sep 2008 16:54:25 +0000 (17:54 +0100)
- List libdir files explicitly.

libxml2/mingw-libxml2.spec

index 1c74133..0aba19a 100644 (file)
@@ -2,7 +2,7 @@
 
 Name:           mingw-libxml2
 Version:        2.6.32
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        MinGW Windows libxml2 XML processing library
 
 License:        LGPLv2+
@@ -38,6 +38,8 @@ rm -rf $RPM_BUILD_ROOT
 
 make DESTDIR=$RPM_BUILD_ROOT install
 
+rm $RPM_BUILD_ROOT%{_mingw_libdir}/libxml2.a
+
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -49,8 +51,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mingw_bindir}/xml2-config
 %{_mingw_bindir}/xmlcatalog.exe
 %{_mingw_bindir}/xmllint.exe
-%{_mingw_libdir}/*
-%{_mingw_includedir}/*
+%{_mingw_libdir}/libxml2.dll.a
+%{_mingw_libdir}/libxml2.la
+%{_mingw_libdir}/pkgconfig
+%{_mingw_libdir}/pkgconfig/libxml-2.0.pc
+%{_mingw_libdir}/xml2Conf.sh
+%{_mingw_includedir}/libxml2
 %{_mingw_datadir}/aclocal/*
 %{_mingw_docdir}/libxml2-%{version}/
 %{_mingw_datadir}/gtk-doc/html/libxml2/
@@ -59,6 +65,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-4
+- Remove static libraries.
+- List libdir files explicitly.
+
 * Fri Sep  5 2008 Richard W.M. Jones <rjones@redhat.com> - 2.6.32-3
 - Use RPM macros from mingw-filesystem.
 - BuildArch is noarch.