packages: func/func.spec - synx with fc, simplify

glen glen at pld-linux.org
Sun Oct 10 20:16:07 CEST 2010


Author: glen                         Date: Sun Oct 10 18:16:07 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- synx with fc, simplify

---- Files affected:
packages/func:
   func.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/func/func.spec
diff -u packages/func/func.spec:1.10 packages/func/func.spec:1.11
--- packages/func/func.spec:1.10	Mon Dec 21 14:17:59 2009
+++ packages/func/func.spec	Sun Oct 10 20:16:02 2010
@@ -10,11 +10,12 @@
 # Source0-md5:	892252004f122c61bb58bb4607553ffe
 Source1:	%{name}-funcd.init
 Patch0:		%{name}-setup.patch
-URL:		https://hosted.fedoraproject.org/func/
+URL:		https://fedorahosted.org/func/
 BuildRequires:	python
 BuildRequires:	rpmbuild(macros) >= 1.219
 Requires:	certmaster >= 0.25
 Requires:	python-pyOpenSSL
+Requires:	python-simplejson
 %pyrequires_eq	python-libs
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -24,8 +25,8 @@
 management, configation, and monitoring of systems.
 
 %description -l pl.UTF-8
-FUNC (Fedora Unified Network Controller) to zdalne API do
-zarządzania, konfiguracji i monitorowania systemów.
+FUNC (Fedora Unified Network Controller) to zdalne API do zarządzania,
+konfiguracji i monitorowania systemów.
 
 %prep
 %setup -q
@@ -40,10 +41,11 @@
 %{__python} setup.py install \
 	--optimize=2 \
 	--root=$RPM_BUILD_ROOT
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/funcd
 
 %py_postclean
 
+install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/funcd
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -69,22 +71,17 @@
 %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/func_rotate
 %attr(754,root,root) /etc/rc.d/init.d/funcd
 %dir %{_sysconfdir}/%{name}
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/func/minion.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/func/overlord.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/func/async_methods.conf
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/func/modules/*
-%{py_sitescriptdir}/*.egg-info
-%{py_sitescriptdir}/func/*.py[co]
-%{py_sitescriptdir}/func/minion/*.py[co]
-%{py_sitescriptdir}/func/minion/modules/*.py[co]
-%{py_sitescriptdir}/func/minion/modules/iptables/*.py[co]
-%{py_sitescriptdir}/func/minion/modules/netapp/*.py[co]
-%{py_sitescriptdir}/func/minion/modules/netapp/vol/*.py[co]
-%{py_sitescriptdir}/func/overlord/*.py[co]
-%{py_sitescriptdir}/func/overlord/cmd_modules/*.py[co]
-%{py_sitescriptdir}/func/overlord/modules/*.py[co]
-%{py_sitescriptdir}/func/yaml/*.py[co]
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/async_methods.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/minion.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/overlord.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/modules/Bridge.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/modules/Test.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/modules/Vlan.conf
 %{_mandir}/man1/*.1*
+%{py_sitescriptdir}/func
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/func-*.egg-info
+%endif
 %dir /var/log/func
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -93,6 +90,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2010/10/10 18:16:02  glen
+- synx with fc, simplify
+
 Revision 1.10  2009/12/21 13:17:59  matik
 - upped to 0.25
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/func/func.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list