[nocpulse-common] fix files req on F18+

Miroslav Suchý msuchy at fedoraproject.org
Fri Nov 2 11:37:06 UTC 2012


commit 01b556ee2d7e5bad77701b1947fedf34bfd531c0
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Fri Nov 2 12:36:58 2012 +0100

    fix files req on F18+

 nocpulse-common.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/nocpulse-common.spec b/nocpulse-common.spec
index 78f619a..16413d5 100644
--- a/nocpulse-common.spec
+++ b/nocpulse-common.spec
@@ -1,6 +1,6 @@
 Name:         nocpulse-common
 Version:      2.2.4
-Release:      3%{?dist}
+Release:      4%{?dist}
 Summary:      NOCpulse common
 License:      GPLv2
 URL:          https://fedorahosted.org/spacewalk
@@ -9,7 +9,11 @@ BuildArch:    noarch
 Group:        Applications/System
 Buildroot:    %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires(pre):  httpd, /usr/sbin/useradd
-Requires(post): /sbin/runuser, openssh
+%if 0%{?fedora} > 17
+Requires(post): /usr/sbin/runuser
+%else
+Requires(post): /sbin/runuser
+%endif
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 # merging this two packages together
 # not backward compatible => no Provides:
@@ -150,6 +154,9 @@ fi
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Fri Nov 02 2012 Miroslav Suchý 2.2.4-4
+- correct runuser file requires
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list