packages: bcfg2/bcfg2.spec - fixed %dir, proper name for python R, cleanup

paszczus paszczus at pld-linux.org
Wed Feb 10 10:09:21 CET 2010


Author: paszczus                     Date: Wed Feb 10 09:09:21 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed %dir, proper name for python R, cleanup

---- Files affected:
packages/bcfg2:
   bcfg2.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/bcfg2/bcfg2.spec
diff -u packages/bcfg2/bcfg2.spec:1.1 packages/bcfg2/bcfg2.spec:1.2
--- packages/bcfg2/bcfg2.spec:1.1	Wed Feb 10 10:02:24 2010
+++ packages/bcfg2/bcfg2.spec	Wed Feb 10 10:09:15 2010
@@ -38,7 +38,7 @@
 Summary:	Bcfg2 Server
 Group:		Networking/Daemons
 Requires:	bcfg2
-Requires:	python-ssl
+Requires:	python-pyOpenSSL
 
 %description -n bcfg2-server
 Bcfg2 helps system administrators produce a consistent, reproducible,
@@ -100,12 +100,14 @@
 install tools/bcfg2-cron $RPM_BUILD_ROOT%{_libdir}/bcfg2/bcfg2-cron
 
 %clean
-[ "$RPM_BUILD_ROOT" != "/" ] && %{__rm} -rf $RPM_BUILD_ROOT || exit 2
+rm -rf $RPM_BUILD_ROOT
 
 %files -n bcfg2
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/bcfg2
-%{py_sitescriptdir}/Bcfg2/*.py*
+%dir %{py_sitescriptdir}/Bcfg2
+%{py_sitescriptdir}/Bcfg2/*.py[co]
+%{py_sitescriptdir}/Bcfg2/Client
 %{py_sitescriptdir}/Bcfg2/Client/*
 %{_mandir}/man1/*
 %{_mandir}/man5/*
@@ -120,11 +122,8 @@
 
 %files -n bcfg2-server
 %defattr(644,root,root,755)
-
 %{_initrddir}/bcfg2-server
-
 %{py_sitescriptdir}/Bcfg2/Server
-
 %{_datadir}/bcfg2
 %config(noreplace) %{_sysconfdir}/default/bcfg2-server
 %attr(755,root,root) %{_sbindir}/bcfg2-admin
@@ -134,7 +133,6 @@
 %attr(755,root,root) %{_sbindir}/bcfg2-repo-validate
 %attr(755,root,root) %{_sbindir}/bcfg2-reports
 %attr(755,root,root) %{_sbindir}/bcfg2-server
-
 %{_mandir}/man8/*.8*
 %dir %{_libdir}/bcfg2
 
@@ -144,6 +142,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/02/10 09:09:15  paszczus
+- fixed %dir, proper name for python R, cleanup
+
 Revision 1.1  2010/02/10 09:02:24  paszczus
 - initial spec, taken from bcfg2 main repo and PLDized
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/bcfg2/bcfg2.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list