[xmltooling] Switch to using an unversioned doc directory

Bruno Wolff III bruno at fedoraproject.org
Sat Oct 12 16:47:50 UTC 2013


commit 992f34fb3cce7b98be4c0563b77ffa970f672d9d
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Sat Oct 12 11:47:28 2013 -0500

    Switch to using an unversioned doc directory

 xmltooling.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/xmltooling.spec b/xmltooling.spec
index a177134..2971ad3 100644
--- a/xmltooling.spec
+++ b/xmltooling.spec
@@ -95,7 +95,8 @@ make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
+# Force unversioned doc directory
+make install DESTDIR=$RPM_BUILD_ROOT pkgdocdir=%{_docdir}/%{name}
 # Don't need the unit test executer.
 rm -f $RPM_BUILD_ROOT/%{_bindir}/xmltoolingtest
 
@@ -127,6 +128,7 @@ rm -rf $RPM_BUILD_ROOT
 %changelog
 * Sat Oct 12 2013 Bruno Wolff III <bruno at wolff.to> - 1.4.2-7
 - Rebuild for liblog4cpp soname bump
+- Use unversioned doc directory
 
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.2-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list