OSDN Git Service

Change version to 1.2.0.
authorKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 7 Feb 2017 11:28:18 +0000 (20:28 +0900)
committerKyotaro Horiguchi <horiguchi.kyotaro@lab.ntt.co.jp>
Tue, 7 Feb 2017 11:28:18 +0000 (20:28 +0900)
Change version number to 1.2.0 and prepare RPM build envoronment.

Makefile
SPECS/pg_hint_plan96.spec
pg_hint_plan--1.2.0.sql [moved from pg_hint_plan--1.1.3.sql with 92% similarity]

index 53cd712..ac7c075 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
 #
 
 MODULES = pg_hint_plan
-HINTPLANVER = 1.1.3
+HINTPLANVER = 1.2.0
 
 REGRESS = init base_plan pg_hint_plan ut-init ut-A ut-S ut-J ut-L ut-G ut-R ut-W ut-fdw ut-fini
 
@@ -14,9 +14,9 @@ REGRESSION_EXPECTED = expected/init.out expected/base_plan.out expected/pg_hint_
 REGRESS_OPTS = --encoding=UTF8
 
 EXTENSION = pg_hint_plan
-DATA = pg_hint_plan--1.1.3.sql
+DATA = pg_hint_plan--1.2.0.sql
 
-EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out
+EXTRA_CLEAN = sql/ut-fdw.sql expected/ut-fdw.out RPMS
 
 PG_CONFIG = pg_config
 PGXS := $(shell $(PG_CONFIG) --pgxs)
@@ -31,6 +31,8 @@ TARSOURCES = Makefile *.c  *.h COPYRIGHT* \
        doc/* expected/*.out sql/*.sql sql/maskout.sh \
        data/data.csv input/*.source output/*.source SPECS/*.spec
 
+LDFLAGS+=-Wl,--build-id
+
 installcheck: $(REGRESSION_EXPECTED)
 
 rpms: rpm96
index 199229e..4054d81 100644 (file)
@@ -1,10 +1,11 @@
 # SPEC file for pg_store_plans
-# Copyright(C) 2016 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
+# Copyright(C) 2017 NIPPON TELEGRAPH AND TELEPHONE CORPORATION
 
 %define _pgdir   /usr/pgsql-9.6
 %define _bindir  %{_pgdir}/bin
 %define _libdir  %{_pgdir}/lib
 %define _datadir %{_pgdir}/share
+
 %if "%(echo ${MAKE_ROOT})" != ""
   %define _rpmdir %(echo ${MAKE_ROOT})/RPMS
   %define _sourcedir %(echo ${MAKE_ROOT})
 ## Set general information for pg_store_plans.
 Summary:    Optimizer hint on PostgreSQL 9.6
 Name:       pg_hint_plan96
-Version:    1.1.3
+Version:    1.2.0
 Release:    1%{?dist}
 License:    BSD
 Group:      Applications/Databases
 Source0:    %{name}-%{version}.tar.gz
-#URL:        http://example.com/pg_hint_plan/
+URL:        https://github.com/ossc-db/pg_hint_plan
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
 Vendor:     NIPPON TELEGRAPH AND TELEPHONE CORPORATION
 
@@ -56,7 +57,7 @@ rm -rf %{buildroot}
 install -d %{buildroot}%{_libdir}
 install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
 install -d %{buildroot}%{_datadir}/extension
-install -m 644 pg_hint_plan--1.1.3.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3.sql
+install -m 644 pg_hint_plan--1.2.0.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.2.0.sql
 install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
 
 %clean
@@ -66,10 +67,12 @@ rm -rf %{buildroot}
 %defattr(0755,root,root)
 %{_libdir}/pg_hint_plan.so
 %defattr(0644,root,root)
-%{_datadir}/extension/pg_hint_plan--1.1.3.sql
+%{_datadir}/extension/pg_hint_plan--1.2.0.sql
 %{_datadir}/extension/pg_hint_plan.control
 
 # History of pg_hint_plan.
 %changelog
+* Tue Feb 7 2017 Kyotaro Horiguchi
+- Added new hint Parallel. Version 1.2.0.
 * Thu Jul 21 2016 Kyotaro Horiguchi
 - Support PostgreSQL 9.6
similarity index 92%
rename from pg_hint_plan--1.1.3.sql
rename to pg_hint_plan--1.2.0.sql
index 880838e..b35b57a 100644 (file)
@@ -1,4 +1,4 @@
-/* pg_hint_plan/pg_hint_plan--1.1.3.sql */
+/* pg_hint_plan/pg_hint_plan--1.2.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
 \echo Use "CREATE EXTENSION pg_hint_plan" to load this file. \quit