Skip to content

Instantly share code, notes, and snippets.

@snaga
Created April 3, 2012 01:55
Show Gist options
  • Save snaga/2288741 to your computer and use it in GitHub Desktop.
Save snaga/2288741 to your computer and use it in GitHub Desktop.
repmgr.spec.diff
*** repmgr.spec.orig 2012-04-02 16:28:48.000000000 +0900
--- repmgr.spec 2012-04-03 10:47:50.000000000 +0900
***************
*** 5,10 ****
--- 5,11 ----
Version: 1.1.0
Release: 1%{?dist}
Summary: Replication Manager for PostgreSQL Clusters
+ Group: Applications/Databases
License: GPLv3
URL: http://www.repmgr.org
***************
*** 14,19 ****
--- 15,22 ----
BuildRequires: postgresql%{pgmajorversion}-devel
Requires: postgresql%{pgmajorversion}-server
+ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
%description
repmgr is a set of open source tools that helps DBAs and System
administrators manage a cluster of PostgreSQL databases..
***************
*** 47,54 ****
%files
%doc COPYRIGHT CREDITS HISTORY LICENSE README.rst TODO
%dir %{pginstdir}/bin
! /usr/pgsql-9.1/bin/repmgr*
! %{pginstdir}/bin/repmgr
%{pginstdir}/share/contrib/repmgr.sql
%{pginstdir}/share/contrib/uninstall_repmgr.sql
--- 50,56 ----
%files
%doc COPYRIGHT CREDITS HISTORY LICENSE README.rst TODO
%dir %{pginstdir}/bin
! %{pginstdir}/bin/repmgr*
%{pginstdir}/share/contrib/repmgr.sql
%{pginstdir}/share/contrib/uninstall_repmgr.sql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment