• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revision6e17c4c302c47f00ee68747e03b9bcb6ac5a0d01 (tree)
Time2019-01-17 14:09:32
AuthorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

Do make install for rpmbuild

Use make install to build in prmbuild directory instaed of using
install command to individual file to reduce maintenance labor.

Change Summary

Incremental Difference

--- a/SPECS/pg_hint_plan94.spec
+++ b/SPECS/pg_hint_plan94.spec
@@ -57,16 +57,7 @@ make USE_PGXS=1 %{?_smp_mflags}
5757 ## Set variables for install
5858 %install
5959 rm -rf %{buildroot}
60-install -d %{buildroot}%{_libdir}
61-install pg_hint_plan.so %{buildroot}%{_libdir}/pg_hint_plan.so
62-install -d %{buildroot}%{_datadir}/extension
63-install -m 644 pg_hint_plan--1.1.2--1.1.3.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.2--1.1.3.sql
64-install -m 644 pg_hint_plan--1.1.3--1.1.4.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.3--1.1.4.sql
65-install -m 644 pg_hint_plan--1.1.4--1.1.5.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.4--1.1.5.sql
66-install -m 644 pg_hint_plan--1.1.5--1.1.6.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.5--1.1.6.sql
67-install -m 644 pg_hint_plan--1.1.6--1.1.7.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.6--1.1.7.sql
68-install -m 644 pg_hint_plan--1.1.7.sql %{buildroot}%{_datadir}/extension/pg_hint_plan--1.1.7.sql
69-install -m 644 pg_hint_plan.control %{buildroot}%{_datadir}/extension/pg_hint_plan.control
60+make install DESTDIR=%{buildroot}
7061
7162 %clean
7263 rm -rf %{buildroot}
Show on old repository browser