[mediawiki: 3/3] Support UnversionedDocdirs Fedora 20 Change.

mooninite mooninite at fedoraproject.org
Sat Jul 27 16:12:09 UTC 2013


commit e7ebba17138d09a55efd45ccbd495d353460c6ca
Author: Michael Cronenworth <mike at cchtml.com>
Date:   Sat Jul 27 11:10:57 2013 -0500

    Support UnversionedDocdirs Fedora 20 Change.

 mediawiki.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/mediawiki.spec b/mediawiki.spec
index 4d03b3d..31934f5 100644
--- a/mediawiki.spec
+++ b/mediawiki.spec
@@ -38,7 +38,8 @@ Foundation websites. Compared to other wikis, it has an excellent
 range of features and support for high-traffic websites using multiple
 servers
 
-This package supports wiki farms. Read the instructions for creating wiki instances under %{_defaultdocdir}/%{name}-%{version}/README.RPM.
+This package supports wiki farms. Read the instructions for creating wiki
+instances under %{_pkgdocdir}/README.RPM.
 Remember to remove the config dir after completing the configuration.
 
 
@@ -51,8 +52,8 @@ Remember to remove the config dir after completing the configuration.
 
 %install
 # move away the documentation to the final folder.
-mkdir -p %{buildroot}%{_defaultdocdir}/%{name}-%{version}
-cp -p %{SOURCE2} %{buildroot}%{_defaultdocdir}/%{name}-%{version}/
+mkdir -p %{buildroot}%{_pkgdocdir}
+cp -p %{SOURCE2} %{buildroot}%{_pkgdocdir}
 
 # now copy the rest to the buildroot.
 mkdir -p %{buildroot}%{_datadir}/mediawiki
@@ -109,6 +110,7 @@ echo /var/www/wiki > %{buildroot}%{_sysconfdir}/mediawiki/instances
 %changelog
 * Sat Jul 27 2013 Michael Cronenworth <mike at cchtml.com> - 1.21.1-5
 - Update mw-createinstance
+- Support for UnversionedDocdirs
 
 * Wed Jul 17 2013 Petr Pisar <ppisar at redhat.com> - 1.21.1-4
 - Perl 5.18 rebuild


More information about the scm-commits mailing list