packages: ctdb/ctdb.spec - df source
glen
glen at pld-linux.org
Thu Mar 18 10:46:25 CET 2010
Author: glen Date: Thu Mar 18 09:46:25 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- df source
---- Files affected:
packages/ctdb:
ctdb.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: packages/ctdb/ctdb.spec
diff -u packages/ctdb/ctdb.spec:1.1 packages/ctdb/ctdb.spec:1.2
--- packages/ctdb/ctdb.spec:1.1 Thu Mar 18 10:39:29 2010
+++ packages/ctdb/ctdb.spec Thu Mar 18 10:46:20 2010
@@ -16,6 +16,7 @@
# cd ctdb
# git-archive --format=tar --prefix=%{name}-%{version}/ %{name}-%{version} | bzip2 > %{name}-%{version}.tar.bz2
Source0: %{name}-%{version}.tar.bz2
+# Source0-md5: ce3eda943bf81c7c9e513ec715f4a785
BuildRequires: autoconf
BuildRequires: net-tools
BuildRequires: rpmbuild(macros) >= 1.268
@@ -70,7 +71,7 @@
install -p tests/bin/ctdb_transaction $RPM_BUILD_ROOT%{_docdir}/ctdb/tests/bin
# Remove "*.old" files
-find $RPM_BUILD_ROOT -name "*.old" -exec rm -f {} ';'
+find $RPM_BUILD_ROOT -name "*.old" -exec rm -fv {} ';'
# fix doc path
mv $RPM_BUILD_ROOT%{_docdir}/ctdb $RPM_BUILD_ROOT%{_docdir}/ctdb-%{version}
@@ -81,6 +82,7 @@
%post
/sbin/chkconfig --add ctdb
+%service ctdb restart
%preun
if [ "$1" -eq "0" ] ; then
@@ -88,11 +90,6 @@
/sbin/chkconfig --del ctdb
fi
-%postun
-if [ "$1" -ge "1" ]; then
- %service ctdb restart
-fi
-
%files
%defattr(644,root,root,755)
%{_docdir}/ctdb-%{version}
@@ -125,5 +122,8 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2010/03/18 09:46:20 glen
+- df source
+
Revision 1.1 2010/03/18 09:39:29 glen
- new, based on fc spec, tarball from ctdb-1.0.113-1.fc13.src.rpm
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ctdb/ctdb.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list