[pgtune/epel7] Update pgtune to 0.9.3-12.da57e00

Miroslav Suchý msuchy at fedoraproject.org
Thu Nov 6 13:40:01 UTC 2014


commit 5330b7f49fd9a98fc50dd4494ba0e84ba6808470
Author: Miroslav Suchý <msuchy at redhat.com>
Date:   Thu Nov 6 14:39:51 2014 +0100

    Update pgtune to 0.9.3-12.da57e00

 pgtune-settingsdir.patch |   32 +++++++++++++++++++++++---------
 pgtune.spec              |   15 ++++++++++++---
 sources                  |    2 +-
 3 files changed, 36 insertions(+), 13 deletions(-)
---
diff --git a/pgtune-settingsdir.patch b/pgtune-settingsdir.patch
index 6cacdf5..728b7e1 100644
--- a/pgtune-settingsdir.patch
+++ b/pgtune-settingsdir.patch
@@ -1,11 +1,25 @@
---- pgtune.old	2009-10-29 00:49:32.000000000 +0200
-+++ pgtune	2009-10-29 00:49:51.000000000 +0200
-@@ -414,7 +414,7 @@
-   parser.add_option('-D','--debug',action="store_true",dest="debug",
-     default="False",help="Enable debugging mode")
+From 563506fbe34142b2d4729895f190aeb6c6205eb2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Miroslav=20Such=C3=BD?= <msuchy at redhat.com>
+Date: Thu, 6 Nov 2014 14:35:40 +0100
+Subject: [PATCH] set default settings_dir
 
--  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")
+---
+ pgtune | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pgtune b/pgtune
+index 3d6996e..822af3c 100755
+--- a/pgtune
++++ b/pgtune
+@@ -610,7 +610,7 @@ def read_options(program_args):
+     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", 
+                       help="Directory where settings data files are located at.  Defaults to the directory where the script is being run from")
+ 
+     parser.add_option('--doctest', help='run doctests', action='store_true')
+-- 
+2.1.0
 
-   options,args=parser.parse_args()
diff --git a/pgtune.spec b/pgtune.spec
index 4ab7e74..dae5251 100644
--- a/pgtune.spec
+++ b/pgtune.spec
@@ -2,7 +2,7 @@
 Summary:	PostgreSQL Config Tuner
 Name:		pgtune
 Version:	0.9.3
-Release:	9.%{githash}%{?dist}
+Release:	12.%{githash}%{?dist}
 License:	BSD
 Group:		Applications/Databases
 URL:		http://pgfoundry.org/projects/pgtune
@@ -23,7 +23,7 @@ to be as powerful as the hardware it's being deployed on.
 
 %prep
 %setup -q -n %{name}-%{version}
-%patch0 -p0
+%patch0 -p1
 cp %{SOURCE1} .
 
 %build
@@ -42,13 +42,22 @@ install -m 644 pgtune.8 %{buildroot}/%{_mandir}/man8
 %clean
 
 %files
-%doc TODO COPYRIGHT
+%doc TODO.rst COPYRIGHT README.rst HISTORY
 %doc %{_mandir}/man8/pgtune.8*
 %dir %{_datadir}/%{name}
 %{_datadir}/%{name}/*
 %attr(755,root,root) %{_bindir}/pgtune
 
 %changelog
+* Thu Nov 06 2014 Miroslav Suchý <msuchy at redhat.com> 0.9.3-12.da57e00
+- change %%doc filenames
+
+* Thu Nov 06 2014 Miroslav Suchý <msuchy at redhat.com> 0.9.3-11.da57e00
+- fix patch
+
+* Thu Nov 06 2014 Miroslav Suchý <msuchy at redhat.com> 0.9.3-10.da57e00
+- rebase pgtune-settingsdir.patch
+
 * Thu Nov 06 2014 Miroslav Suchý <msuchy at redhat.com> 0.9.3-9.da57e00
 - add missing source
 
diff --git a/sources b/sources
index 1ef2da4..d0e2bc8 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
 4f4776d44093a1f552401dc2c2ec8e0a  pgtune-0.9.3.tar.gz
 3a638010b7e777ff50e5c3770f75e161  pgtune.8.asciidoc
-2eb72af90e9dceb288825824a2ca5176  pgtune-settingsdir.patch
+22beb969a3d6b6a2f750ab0950314f85  pgtune-settingsdir.patch


More information about the scm-commits mailing list