X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libxml2%2Fmingw-libxml2.spec;h=ae7b1767a6bd1fe82b48b7cdd1b0de996c8a23d2;hb=ba70f03694c6ba6f858683093c9e107fdd3fb49b;hp=0aba19a739172ee49c26a9f5e2d1736e9a4fb98b;hpb=520dd892a25bc1618bf6e57fe923268bdb86e6ad;p=fedora-mingw.git diff --git a/libxml2/mingw-libxml2.spec b/libxml2/mingw-libxml2.spec index 0aba19a..ae7b176 100644 --- a/libxml2/mingw-libxml2.spec +++ b/libxml2/mingw-libxml2.spec @@ -1,8 +1,12 @@ -%include /usr/lib/rpm/mingw-defs +%define __strip %{_mingw_strip} +%define __objdump %{_mingw_objdump} +%define _use_internal_dependency_generator 0 +%define __find_requires %{_mingw_findrequires} +%define __find_provides %{_mingw_findprovides} Name: mingw-libxml2 Version: 2.6.32 -Release: 4%{?dist} +Release: 5%{?dist} Summary: MinGW Windows libxml2 XML processing library License: LGPLv2+ @@ -13,7 +17,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch -BuildRequires: mingw-filesystem >= 19 +BuildRequires: mingw-filesystem >= 23 BuildRequires: mingw-gcc BuildRequires: mingw-binutils BuildRequires: mingw-zlib @@ -40,6 +44,9 @@ make DESTDIR=$RPM_BUILD_ROOT install rm $RPM_BUILD_ROOT%{_mingw_libdir}/libxml2.a +# Remove manpages which duplicate Fedora native. +rm -rf $RPM_BUILD_ROOT%{_mingw_mandir} + %clean rm -rf $RPM_BUILD_ROOT @@ -60,11 +67,12 @@ rm -rf $RPM_BUILD_ROOT %{_mingw_datadir}/aclocal/* %{_mingw_docdir}/libxml2-%{version}/ %{_mingw_datadir}/gtk-doc/html/libxml2/ -%{_mingw_mandir}/man1/* -%{_mingw_mandir}/man3/* %changelog +* Sun Sep 21 2008 Richard W.M. Jones - 2.6.32-5 +- Remove manpages which duplicate Fedora native. + * Wed Sep 10 2008 Richard W.M. Jones - 2.6.32-4 - Remove static libraries. - List libdir files explicitly.