소스 검색

libpq: add postgres_ext.h and pg_config_ext.h

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8554 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 10 년 전
부모
커밋
993dc607bd
1개의 변경된 파일9개의 추가작업 그리고 2개의 파일을 삭제
  1. 9 2
      lib/libp/libpq/libpq-vl.spec

+ 9 - 2
lib/libp/libpq/libpq-vl.spec

@@ -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