[dokuwiki] Fix Requires for EL5, #967975 (patch by Charles R. Anderson)

Adam Tkac atkac at fedoraproject.org
Tue Sep 3 13:54:17 UTC 2013


commit bf610a2e4cf2b7c9de0f4b4f1804a84e2bf00a34
Author: Adam Tkac <adam.tkac at geodis.cz>
Date:   Tue Sep 3 15:53:56 2013 +0200

    Fix Requires for EL5, #967975 (patch by Charles R. Anderson)
    
    Signed-off-by: Adam Tkac <adam.tkac at geodis.cz>

 dokuwiki.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/dokuwiki.spec b/dokuwiki.spec
index a0744b0..f3b3e68 100644
--- a/dokuwiki.spec
+++ b/dokuwiki.spec
@@ -1,6 +1,6 @@
 Name:		dokuwiki
 Version:	0
-Release:	0.19.20130510a%{?dist}
+Release:	0.20.20130510a%{?dist}
 Summary:	Standards compliant simple to use wiki
 Group:		Applications/Internet
 License:	GPLv2
@@ -27,7 +27,11 @@ All data is stored in plain text files no database is required.
 %package selinux
 Summary:	SElinux support for dokuwiki
 Requires:	%name = %version-%release
-Requires:	policycoreutils policycoreutils-python
+Requires:	policycoreutils
+%if 0%{?rhel} > 5 || 0%{?fedora} 
+Requires:	policycoreutils-python
+%endif
+Group:		Applications/Internet
 BuildArch:	noarch
 
 %description selinux
@@ -202,6 +206,9 @@ fi
 %doc DOKUWIKI-SELINUX.README
 
 %changelog
+* Tue Sep 03 2013 Adam Tkac <vonsch at gmail.com> - 0-0.20.20130510a
+- fix Requires for EL5, #967975 (patch by Charles R. Anderson)
+
 * Tue Sep 03 2013 Adam Tkac <vonsch at gmail.com> - 0-0.19.20121013
 - update to the latest upstream
 


More information about the scm-commits mailing list