]> git.pld-linux.org Git - packages/pacemaker.git/commitdiff
- use --with-initdir for %configure instead of moving the script in %install
authorJacek Konieczny <jajcus@pld-linux.org>
Sat, 30 Jun 2012 20:01:51 +0000 (20:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (which could even not be there)

Changed files:
    pacemaker.spec -> 1.17.2.4

pacemaker.spec

index 9be3f2b3d33cbaf050da7ad114a41b005150459d..1feec4c8923075b7038879d5ac4aad9fdf204170 100644 (file)
@@ -7,7 +7,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}
@@ -125,6 +125,7 @@ Static Pacemaker libraries.
        --with-corosync%{!?with_corosync:=no} \
        --with-snmp \
        --with-esmtp \
+       --with-initdir=/etc/rc.d/init.d \
        --disable-fatal-warnings
 
 %{__make}
@@ -141,10 +142,6 @@ rm $RPM_BUILD_ROOT%{_libdir}/heartbeat/plugins/RAExec/*.{la,a}
 
 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
 
This page took 1.563948 seconds and 4 git commands to generate.