packages (pacemaker-1_1): pacemaker/pacemaker.spec - use --with-initdir for...

jajcus jajcus at pld-linux.org
Sat Jun 30 22:01:57 CEST 2012


Author: jajcus                       Date: Sat Jun 30 20:01:57 2012 GMT
Module: packages                      Tag: pacemaker-1_1
---- Log message:
- use --with-initdir for %configure instead of moving the script in %install
  (which could even not be there)

---- Files affected:
packages/pacemaker:
   pacemaker.spec (1.17.2.3 -> 1.17.2.4) 

---- Diffs:

================================================================
Index: packages/pacemaker/pacemaker.spec
diff -u packages/pacemaker/pacemaker.spec:1.17.2.3 packages/pacemaker/pacemaker.spec:1.17.2.4
--- packages/pacemaker/pacemaker.spec:1.17.2.3	Wed Jun  6 11:17:42 2012
+++ packages/pacemaker/pacemaker.spec	Sat Jun 30 22:01:51 2012
@@ -8,7 +8,7 @@
 Summary:	The scalable High-Availability cluster resource manager
 Name:		pacemaker
 Version:	1.1.7
-Release:	0.1
+Release:	1
 License:	GPL v2+; LGPL v2.1+
 Group:		Applications/System
 # https://github.com/ClusterLabs/pacemaker/tarball/Pacemaker-%{version}
@@ -126,6 +126,7 @@
 	--with-corosync%{!?with_corosync:=no} \
 	--with-snmp \
 	--with-esmtp \
+	--with-initdir=/etc/rc.d/init.d \
 	--disable-fatal-warnings
 
 %{__make}
@@ -142,10 +143,6 @@
 
 install %{SOURCE1} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/%{name}.conf
 
-%if %{with corosync}
-mv $RPM_BUILD_ROOT/etc/init.d $RPM_BUILD_ROOT/etc/rc.d
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -278,6 +275,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.17.2.4  2012/06/30 20:01:51  jajcus
+- use --with-initdir for %configure instead of moving the script in %install
+  (which could even not be there)
+
 Revision 1.17.2.3  2012/06/06 09:17:42  jajcus
 - awk path fixed in a test script
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/packages/pacemaker/pacemaker.spec?r1=1.17.2.3&r2=1.17.2.4



More information about the pld-cvs-commit mailing list