[pgtune/epel7] Update pgtune to 0.9.3-9.da57e00
Miroslav Suchý
msuchy at fedoraproject.org
Thu Nov 6 13:26:28 UTC 2014
commit 2397eb276db052c7719b86056b210afd678e5024
Author: Miroslav Suchý <msuchy at redhat.com>
Date: Thu Nov 6 14:26:17 2014 +0100
Update pgtune to 0.9.3-9.da57e00
.gitignore | 2 ++
pgtune-settingsdir.patch | 8 ++++----
pgtune.spec | 16 +++++++++++++---
sources | 4 +++-
4 files changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2a4bb07..1677577 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
/pgtune-0.9.3.tar.gz
+/pgtune.8.asciidoc
+/pgtune-settingsdir.patch
diff --git a/pgtune-settingsdir.patch b/pgtune-settingsdir.patch
index 98406c8..6cacdf5 100644
--- a/pgtune-settingsdir.patch
+++ b/pgtune-settingsdir.patch
@@ -3,9 +3,9 @@
@@ -414,7 +414,7 @@
parser.add_option('-D','--debug',action="store_true",dest="debug",
default="False",help="Enable debugging mode")
-
-- parser.add_option('-S','--settings',dest="settings_dir",default=None,
-+ parser.add_option('-S','--settings',dest="settings_dir",default="/usr/share/pgtune",
+
+- parser.add_option('-S','--settings',dest="settings_dir",default=None,
++ parser.add_option('-S','--settings',dest="settings_dir",default="/usr/share/pgtune",
help="Directory where settings data files are located at. Defaults to the directory where the script is being run from")
-
+
options,args=parser.parse_args()
diff --git a/pgtune.spec b/pgtune.spec
index 70829de..4ab7e74 100644
--- a/pgtune.spec
+++ b/pgtune.spec
@@ -1,11 +1,15 @@
+%global githash da57e00
Summary: PostgreSQL Config Tuner
Name: pgtune
Version: 0.9.3
-Release: 7%{?dist}
+Release: 9.%{githash}%{?dist}
License: BSD
Group: Applications/Databases
URL: http://pgfoundry.org/projects/pgtune
-Source0: http://pgfoundry.org/frs/download.php/2449/%{name}-%{version}.tar.gz
+#Source0: http://pgfoundry.org/frs/download.php/2449/%{name}-%{version}.tar.gz
+# Created using:
+# git archive --format=tar --prefix=pgtune-0.9.3/ -o pgtune-0.9.3.tar.gz %{githash}:./
+Source: %{name}-%{version}.tar.gz
Source1: pgtune.8.asciidoc
Patch0: pgtune-settingsdir.patch
Requires: postgresql-server
@@ -14,7 +18,7 @@ BuildRequires: libxslt
Buildarch: noarch
%description
-pgtune takes the wimpy default postgresql.conf and expands the database server
+pgtune takes the wimpy default postgresql.conf and expands the database server
to be as powerful as the hardware it's being deployed on.
%prep
@@ -45,6 +49,12 @@ install -m 644 pgtune.8 %{buildroot}/%{_mandir}/man8
%attr(755,root,root) %{_bindir}/pgtune
%changelog
+* Thu Nov 06 2014 Miroslav Suchý <msuchy at redhat.com> 0.9.3-9.da57e00
+- add missing source
+
+* Thu Nov 06 2014 Miroslav Suchý <msuchy at redhat.com> 0.9.3-8.da57e00
+- include pg 9.x configs
+
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
diff --git a/sources b/sources
index 30ed47a..1ef2da4 100644
--- a/sources
+++ b/sources
@@ -1 +1,3 @@
-a765e0fc120bad2828167004b277f2d0 pgtune-0.9.3.tar.gz
+4f4776d44093a1f552401dc2c2ec8e0a pgtune-0.9.3.tar.gz
+3a638010b7e777ff50e5c3770f75e161 pgtune.8.asciidoc
+2eb72af90e9dceb288825824a2ca5176 pgtune-settingsdir.patch
More information about the scm-commits
mailing list