From 520dd892a25bc1618bf6e57fe923268bdb86e6ad Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 1 Jan 1970 00:00:00 +0000 Subject: [PATCH] - Remove static libraries. - List libdir files explicitly. --- libxml2/mingw-libxml2.spec | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/libxml2/mingw-libxml2.spec b/libxml2/mingw-libxml2.spec index 1c74133..0aba19a 100644 --- a/libxml2/mingw-libxml2.spec +++ b/libxml2/mingw-libxml2.spec @@ -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 - 2.6.32-4 +- Remove static libraries. +- List libdir files explicitly. + * Fri Sep 5 2008 Richard W.M. Jones - 2.6.32-3 - Use RPM macros from mingw-filesystem. - BuildArch is noarch. -- 1.8.3.1