Changes of Revision 2
[-] | Changed | func.spec |
x 1
2 3 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 4 5 -%define is_suse %(test -e /etc/SuSE-release && echo 1 || echo 0) 6 - 7 Summary: Remote management framework 8 Name: func 9 Source1: version 10 Version: %(echo `awk '{ print $1 }' %{SOURCE1}`) 11 Release: %(echo `awk '{ print $2 }' %{SOURCE1}`)%{?dist} 12 Source0: %{name}-%{version}.tar.gz 13 +Patch0: %{name}-init.patch 14 License: GPLv2+ 15 Group: Applications/System 16 Requires: python >= 2.3 17
18 Requires: certmaster >= 0.24 19 Requires: logrotate 20 BuildRequires: python-devel 21 -%if %is_suse 22 +%if 0%{?suse_version} 23 BuildRequires: gettext-devel 24 %else 25 -%if 0%{?fedora} >= 8 26 +%if 0%{?fedora_version} >= 8 27 BuildRequires: python-setuptools-devel 28 %else 29 BuildRequires: python-setuptools 30
31 32 %prep 33 %setup -q 34 +%patch0 35 36 %build 37 %{__python} setup.py build 38
39 40 %files 41 %defattr(-, root, root, -) 42 -%if 0%{?fedora} > 8 43 +%if 0%{?fedora_version} > 8 44 %{python_sitelib}/func*.egg-info 45 %endif 46 %{_bindir}/funcd 47 |
||
[+] | Added | func-init.patch ^ |
@@ -0,0 +1,11 @@ +--- init-scripts/funcd.orig 2010-12-03 21:54:51.769559954 +0100 ++++ init-scripts/funcd 2010-12-03 21:55:26.342226181 +0100 +@@ -8,7 +8,7 @@ + ### BEGIN INIT INFO + # Provides: funcd + # Required-Start: network +-# Required-Stop: ++# Required-Stop: $null + # Default-Start: 3 4 5 + # Default-Stop: 0 1 2 6 + # Short-Description: Fedora Unified Network Control |