firtst release
Revision | 8c35775729b2527aced69b58af5881d553e88ff7 (tree) |
---|---|
Time | 2013-09-02 18:52:51 |
Author | Takashi Suzuki <suzuki.takashi@metr...> |
Commiter | Takashi Suzuki |
specファイルを最新版に対応させた。
@@ -1,5 +1,5 @@ | ||
1 | 1 | # SPEC file for pg_hint_plan |
2 | -# Copyright(C) 2012 NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
2 | +# Copyright(C) 2013 NIPPON TELEGRAPH AND TELEPHONE CORPORATION | |
3 | 3 | |
4 | 4 | %define _pgdir /usr/pgsql-9.1 |
5 | 5 | %define _bindir %{_pgdir}/bin |
@@ -9,7 +9,7 @@ | ||
9 | 9 | ## Set general information for pg_hint_plan. |
10 | 10 | Summary: Optimizer hint for PostgreSQL 9.1 |
11 | 11 | Name: pg_hint_plan91 |
12 | -Version: 1.0.0 | |
12 | +Version: 1.1.0 | |
13 | 13 | Release: 1%{?dist} |
14 | 14 | License: BSD |
15 | 15 | Group: Applications/Databases |
@@ -47,6 +47,9 @@ make %{?_smp_mflags} | ||
47 | 47 | rm -rf %{buildroot} |
48 | 48 | install -d %{buildroot}%{_libdir} |
49 | 49 | install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so |
50 | +install -d %{buildroot}%{_datadir}/extension | |
51 | +install -m 644 pg_hint_plan--1.0.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.0.sql | |
52 | +install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control | |
50 | 53 | |
51 | 54 | %clean |
52 | 55 | rm -rf %{buildroot} |
@@ -54,9 +57,13 @@ rm -rf %{buildroot} | ||
54 | 57 | %files |
55 | 58 | %defattr(0755,root,root) |
56 | 59 | %{_libdir}/pg_hint_plan.so |
60 | +%defattr(0644,root,root) | |
61 | +%{_datadir}/extension/pg_hint_plan--1.0.sql | |
62 | +%{_datadir}/extension/pg_hint_plan.control | |
57 | 63 | |
58 | 64 | # History of pg_hint_plan. |
59 | 65 | %changelog |
60 | 66 | * Mon Sep 24 2012 Shigeru Hanada <shigeru.hanada@gmail.com> |
61 | 67 | - Initial cut for 1.0.0 |
62 | - | |
68 | +* Mon Sep 2 2013 | |
69 | +- Initial cut for 1.1.0 |
@@ -9,7 +9,7 @@ | ||
9 | 9 | ## Set general information for pg_hint_plan. |
10 | 10 | Summary: Optimizer hint for PostgreSQL 9.2 |
11 | 11 | Name: pg_hint_plan92 |
12 | -Version: 1.0.0 | |
12 | +Version: 1.1.0 | |
13 | 13 | Release: 1%{?dist} |
14 | 14 | License: BSD |
15 | 15 | Group: Applications/Databases |
@@ -47,6 +47,9 @@ make %{?_smp_mflags} | ||
47 | 47 | rm -rf %{buildroot} |
48 | 48 | install -d %{buildroot}%{_libdir} |
49 | 49 | install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so |
50 | +install -d %{buildroot}%{_datadir}/extension | |
51 | +install -m 644 pg_hint_plan--1.0.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.0.sql | |
52 | +install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control | |
50 | 53 | |
51 | 54 | %clean |
52 | 55 | rm -rf %{buildroot} |
@@ -54,9 +57,14 @@ rm -rf %{buildroot} | ||
54 | 57 | %files |
55 | 58 | %defattr(0755,root,root) |
56 | 59 | %{_libdir}/pg_hint_plan.so |
60 | +%defattr(0644,root,root) | |
61 | +%{_datadir}/extension/pg_hint_plan--1.0.sql | |
62 | +%{_datadir}/extension/pg_hint_plan.control | |
57 | 63 | |
58 | 64 | # History of pg_hint_plan. |
59 | 65 | %changelog |
60 | 66 | * Mon Sep 24 2012 Shigeru Hanada <shigeru.hanada@gmail.com> |
61 | 67 | - Initial cut for 1.0.0 |
68 | +* Mon Sep 2 2013 | |
69 | +- Initial cut for 1.1.0 | |
62 | 70 |