|
@@ -16,7 +16,7 @@ Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
|
|
|
Name: libpq
|
|
|
Group: System Environment/Libraries
|
|
|
Version: %{pgver}.4
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
License: BSD
|
|
|
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
|
|
Source3: postgresql.init
|
|
@@ -147,7 +147,7 @@ CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
|
|
--datadir=%{_datadir}/pgsql
|
|
|
|
|
|
make %{?_smp_mflags} -C ./src/interfaces all
|
|
|
-#make %{?_smp_mflags} -C ./src/bin/pg_config all
|
|
|
+make %{?_smp_mflags} -C ./src/bin/pg_config all
|
|
|
|
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -159,6 +159,10 @@ make DESTDIR=$RPM_BUILD_ROOT -C ./src/interfaces install
|
|
|
install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
|
|
|
install -m644 src/Makefile.shlib $RPM_BUILD_ROOT%{_includedir}/pgsql
|
|
|
|
|
|
+# install missing header
|
|
|
+install -m644 src/include/postgres_ext.h $RPM_BUILD_ROOT%{_includedir}/pgsql
|
|
|
+install -m644 src/include/pg_config_ext.h $RPM_BUILD_ROOT%{_includedir}/pgsql
|
|
|
+
|
|
|
# Fix some more documentation
|
|
|
##gzip doc/internals.ps
|
|
|
cp %{SOURCE6} README.rpm-dist
|
|
@@ -222,6 +226,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sun Jun 15 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-2
|
|
|
+- add postgres_ext.h and pg_config_ext.h
|
|
|
+
|
|
|
* Mon Mar 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-1
|
|
|
- new upstream release
|
|
|
|