rpms/postgresql-pgpool-ha/devel postgresql-pgpool-ha.spec,1.3,1.4

Miloš Jakubíček mjakubicek at fedoraproject.org
Fri Apr 24 10:18:34 UTC 2009


Author: mjakubicek

Update of /cvs/pkgs/rpms/postgresql-pgpool-ha/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16694/devel

Modified Files:
	postgresql-pgpool-ha.spec 
Log Message:
- Fix FTBFS: proper heartbeat location




Index: postgresql-pgpool-ha.spec
===================================================================
RCS file: /cvs/pkgs/rpms/postgresql-pgpool-ha/devel/postgresql-pgpool-ha.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- postgresql-pgpool-ha.spec	27 Feb 2009 01:51:11 -0000	1.3
+++ postgresql-pgpool-ha.spec	24 Apr 2009 10:18:04 -0000	1.4
@@ -3,7 +3,7 @@
 Summary:	Pgpool-HA uses heartbeat to keep pgpool from being a single point of failure
 Name:		postgresql-%{short_name}
 Version:	1.1.0
-Release:	6%{?dist}
+Release:	7%{?dist}
 License:	BSD
 Group:		Applications/Databases
 URL:		http://pgpool.projects.PostgreSQL.org
@@ -23,6 +23,10 @@
 %setup -q -n %{short_name}-%{version}
 
 %build
+
+# fix heartbeat location:
+sed -i "s|/usr/lib/ocf/resource.d|%{_datadir}/ocf/resource.d|" configure
+
 %configure --bindir=%{_bindir} --sysconfdir=%{_sysconfdir} --mandir=%{_mandir} --libdir=%{_libdir}
 make %{?smp_flags} -C src
 
@@ -31,10 +35,10 @@
 cd src
 install -d %{buildroot}%{_bindir}
 install -d %{buildroot}%{_sysconfdir}/ha.d/resource.d/heartbeat/
-install -d %{buildroot}%{_libdir}/ocf/resource.d/heartbeat/
+install -d %{buildroot}%{_datadir}/ocf/resource.d/heartbeat/
 install -m 755 pgpool.monitor %{buildroot}%{_bindir}/pgpool.monitor
 install -m 755 pgpool %{buildroot}%{_sysconfdir}/ha.d/resource.d/heartbeat/pgpool
-install -m 755 pgpool %{buildroot}%{_libdir}/ocf/resource.d/heartbeat/
+install -m 755 pgpool %{buildroot}%{_datadir}/ocf/resource.d/heartbeat/
 
 %clean
 rm -rf %{buildroot}
@@ -47,6 +51,9 @@
 %doc AUTHORS COPYING INSTALL README.ja ChangeLog doc README 
 
 %changelog
+* Fri Apr 24 2009 Milos Jakubicek <xjakub at fi.muni.cz> - 1.1.0-7
+- Fix FTBFS: proper heartbeat location
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list