Don't install html documentation which duplicates what is in Fedora native

epel9
Kalev Lember 14 years ago
parent 9ab5ba0d68
commit 167ddb8b21

@ -7,7 +7,7 @@
Name: mingw32-libxml2 Name: mingw32-libxml2
Version: 2.7.6 Version: 2.7.6
Release: 2%{?dist} Release: 3%{?dist}
Summary: MinGW Windows libxml2 XML processing library Summary: MinGW Windows libxml2 XML processing library
License: MIT License: MIT
@ -103,8 +103,10 @@ sed -i s/"old_library=''"/"old_library='libxml2.a'"/ $RPM_BUILD_ROOT%{_mingw32_l
# Drop the folder which was temporary used for installing the static bits # Drop the folder which was temporary used for installing the static bits
rm -rf $RPM_BUILD_ROOT/build_static rm -rf $RPM_BUILD_ROOT/build_static
# Remove manpages which duplicate Fedora native. # Remove documentation which duplicates Fedora native.
rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir} rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
rm -rf $RPM_BUILD_ROOT%{_mingw32_docdir}
rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc/
%clean %clean
@ -123,8 +125,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_libdir}/xml2Conf.sh %{_mingw32_libdir}/xml2Conf.sh
%{_mingw32_includedir}/libxml2 %{_mingw32_includedir}/libxml2
%{_mingw32_datadir}/aclocal/* %{_mingw32_datadir}/aclocal/*
%{_mingw32_docdir}/libxml2-%{version}/
%{_mingw32_datadir}/gtk-doc/html/libxml2/
%files static %files static
@ -133,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon May 23 2011 Kalev Lember <kalev@smartlink.ee> - 2.7.6-3
- Don't install html documentation which duplicates what is in Fedora native
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.6-2 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.7.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

Loading…
Cancel
Save