[mingw-libxml2: 21/29] Don't install html documentation which duplicates what is in Fedora native
Kalev Lember
kalev at fedoraproject.org
Tue Mar 6 19:58:07 UTC 2012
commit 167ddb8b21b9ec7da7b48e598ba8077d93bdf3f7
Author: Kalev Lember <kalev at smartlink.ee>
Date: Mon May 23 06:10:51 2011 +0300
Don't install html documentation which duplicates what is in Fedora native
mingw32-libxml2.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/mingw32-libxml2.spec b/mingw32-libxml2.spec
index dc76cb8..2974ad5 100644
--- a/mingw32-libxml2.spec
+++ b/mingw32-libxml2.spec
@@ -7,7 +7,7 @@
Name: mingw32-libxml2
Version: 2.7.6
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows libxml2 XML processing library
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
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_docdir}
+rm -rf $RPM_BUILD_ROOT%{_mingw32_datadir}/gtk-doc/
%clean
@@ -123,8 +125,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_libdir}/xml2Conf.sh
%{_mingw32_includedir}/libxml2
%{_mingw32_datadir}/aclocal/*
-%{_mingw32_docdir}/libxml2-%{version}/
-%{_mingw32_datadir}/gtk-doc/html/libxml2/
%files static
@@ -133,6 +133,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Mon May 23 2011 Kalev Lember <kalev at 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 at lists.fedoraproject.org> - 2.7.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list