[packages/dlm] Requires and BuildRequires fixes

jajcus jajcus at pld-linux.org
Fri Nov 2 08:33:50 CET 2012


commit 03ce58be33881516796a8896873701a8475cd018
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Fri Nov 2 08:30:10 2012 +0100

    Requires and BuildRequires fixes

 dlm.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/dlm.spec b/dlm.spec
index 4f36304..69ccef8 100644
--- a/dlm.spec
+++ b/dlm.spec
@@ -19,7 +19,11 @@ Patch2:		dlm_stonith-build.patch
 URL:		http://sources.redhat.com/cluster/dlm/
 BuildRequires:	corosync-devel
 %{?with_dlm_stonith:BuildRequires:	corosync-devel}
+BuildRequires:	rpmbuild(macros) >= 1.644
+Requires:	rc-scripts
+Requires:	systemd-units >= 38
 Requires:	%{name}-libs = %{version}-%{release}
+Requires(post,preun):	/sbin/chkconfig
 Obsoletes:	cluster-dlm
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dlm.git/commitdiff/d3afe32ae932fa71c98a90e923d35b04754d116a



More information about the pld-cvs-commit mailing list