[remctl/el5] Adjust UnversionedDocdirs conditional to support Fedora 19

Ken Dreyer ktdreyer at fedoraproject.org
Fri Jan 24 03:40:18 UTC 2014


commit 047852e02febc4dfe17d3f8c7fc7a5f142789462
Author: Ken Dreyer <ktdreyer at ktdreyer.com>
Date:   Thu Jan 23 20:38:40 2014 -0700

    Adjust UnversionedDocdirs conditional to support Fedora 19

 remctl.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/remctl.spec b/remctl.spec
index 80ed2d1..11d02ff 100644
--- a/remctl.spec
+++ b/remctl.spec
@@ -1,6 +1,6 @@
 Name: remctl
 Version: 3.7
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: Client/server for Kerberos-authenticated command execution
 
 Group: Applications/Internet
@@ -188,7 +188,8 @@ install -p php/remctl.ini %{buildroot}%{php_inidir}
 
 # Install PHP, Python, Ruby READMEs
 for d in php python ruby; do
-  %if 0%{?fedora} || 0%{?rhel} >= 8
+  %if 0%{?fedora} >= 20 || 0%{?rhel} >= 8
+    # https://fedoraproject.org/wiki/Changes/UnversionedDocdirs
     subpackage_docdir=%{_docdir}/%{name}-${d}
   %else
     subpackage_docdir=%{_docdir}/%{name}-${d}-%{version}
@@ -265,6 +266,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jan 24 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 3.7-2
+- Adjust UnversionedDocdirs conditional to support Fedora 19
+
 * Thu Jan 23 2014 Ken Dreyer <ktdreyer at ktdreyer.com> - 3.7-1
 - Update to 3.7
 - Drop upstreamed EL5 perl patch


More information about the scm-commits mailing list