|
@@ -16,7 +16,7 @@ Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
|
|
Name: libpq
|
|
Name: libpq
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Version: %{pgver}.4
|
|
Version: %{pgver}.4
|
|
-Release: 3%{?_dist_release}
|
|
|
|
|
|
+Release: 4%{?_dist_release}
|
|
License: BSD
|
|
License: BSD
|
|
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
|
Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
|
Source3: postgresql.init
|
|
Source3: postgresql.init
|
|
@@ -148,12 +148,17 @@ CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
|
|
|
|
|
make %{?_smp_mflags} -C ./src/interfaces all
|
|
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
|
|
|
|
+make %{?_smp_mflags} -C ./src/backend utils/errcodes.h
|
|
|
|
+make %{?_smp_mflags} -C ./src/backend utils/fmgroids.h
|
|
|
|
+
|
|
|
|
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT -C ./src/interfaces install
|
|
make DESTDIR=$RPM_BUILD_ROOT -C ./src/interfaces install
|
|
make DESTDIR=$RPM_BUILD_ROOT -C ./src/bin/pg_config install
|
|
make DESTDIR=$RPM_BUILD_ROOT -C ./src/bin/pg_config install
|
|
|
|
+cp -f ./src/backend/utils/fmgroids.h ./src/include/utils/
|
|
|
|
+make DESTDIR=$RPM_BUILD_ROOT -C ./src/include install
|
|
|
|
|
|
# copy over Makefile.global to the include dir....
|
|
# copy over Makefile.global to the include dir....
|
|
install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
|
|
install -m644 src/Makefile.global $RPM_BUILD_ROOT%{_includedir}/pgsql
|
|
@@ -230,6 +235,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Jul 10 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 9.3.4-4
|
|
|
|
+- added all headers for a strange client.
|
|
|
|
+
|
|
* Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-3
|
|
* Wed Jun 25 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 9.3.4-3
|
|
- add pgconfig
|
|
- add pgconfig
|
|
- add pg_config*.h and libpq/libpq-fs.h
|
|
- add pg_config*.h and libpq/libpq-fs.h
|