rpms/cfengine/devel cfengine.spec,1.6,1.7
Matthias Saou (thias)
fedora-extras-commits at redhat.com
Thu Mar 3 20:08:38 UTC 2005
Author: thias
Update of /cvs/extras/rpms/cfengine/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16373/cfengine/devel
Modified Files:
cfengine.spec
Log Message:
Mass letter "c" update, one or more apply :
- Drop epoch: 0
- Remove %{epoch} requirements in sub-packages
- Remove trailing white spaces
- Keep consistent between spaces and tabs
Index: cfengine.spec
===================================================================
RCS file: /cvs/extras/rpms/cfengine/devel/cfengine.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- cfengine.spec 15 Dec 2004 19:33:17 -0000 1.6
+++ cfengine.spec 3 Mar 2005 20:08:36 -0000 1.7
@@ -1,6 +1,5 @@
-Summary: GNU cfengine - a systems administration tool for networks
+Summary: Systems administration tool for networks
Name: cfengine
-Epoch: 0
Version: 2.1.9
Release: 2
License: GPL
@@ -22,12 +21,10 @@
configurations. Cfengine is designed to be a part of a computer immune
system.
-#---------------------------------------------------------------------
%prep
-%setup -n %{name}-%{version}
+%setup
-#---------------------------------------------------------------------
%build
# Since /usr is managed by rpmdb, we can build stuff in there
@@ -38,7 +35,7 @@
# Some of the example files have execute bit for some reason.
chmod 644 inputs/*example
-#---------------------------------------------------------------------
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -50,7 +47,7 @@
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/%{name}
for i in ppkeys inputs outputs
do
- mkdir -m 0700 $RPM_BUILD_ROOT%{_localstatedir}/%{name}/$i
+ mkdir -m 0700 $RPM_BUILD_ROOT%{_localstatedir}/%{name}/$i
done
# It's ugly, but thats the way Mark wants to have it. :(
@@ -81,7 +78,7 @@
# All this stuff is pushed into doc directory.
#
rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}
-#---------------------------------------------------------------------
+
%post
# cfagent won't run nicely, unless your host has keys.
@@ -99,21 +96,19 @@
fi
%preun
if [ "$1" = "0" ]; then
- /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cfengine*.info* 2> /dev/null || :
+ /sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/cfengine*.info* 2> /dev/null || :
chkconfig --del cfenvd
chkconfig --del cfexecd
chkconfig --del cfservd
fi
-#---------------------------------------------------------------------
%clean
rm -rf $RPM_BUILD_ROOT
-#---------------------------------------------------------------------
%files
-%defattr(-,root,root)
+%defattr(-,root,root, 0755)
%doc AUTHORS ChangeLog COPYING README TODO
%doc contrib
%doc inputs
@@ -132,7 +127,6 @@
%dir %{_localstatedir}/%{name}/outputs
%dir %{_localstatedir}/%{name}/ppkeys
-#---------------------------------------------------------------------
%changelog
* Sun Aug 15 2004 Juha Ylitalo <jylitalo at iki.fi> - 0:2.1.9-2
More information about the scm-commits
mailing list