|
@@ -7,7 +7,7 @@
|
|
%define nls 1
|
|
%define nls 1
|
|
%define pam 1
|
|
%define pam 1
|
|
|
|
|
|
-%define pgver 10
|
|
+%define pgver 12
|
|
%define pq_soname 5
|
|
%define pq_soname 5
|
|
%define ecpg_soname 6
|
|
%define ecpg_soname 6
|
|
|
|
|
|
@@ -15,11 +15,11 @@ Summary: The shared libraries required for any PostgreSQL clients.
|
|
Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
|
|
Summary(ja): PostgreSQL クライアントに必要な共有ライブラリ
|
|
Name: libpq
|
|
Name: libpq
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
-Version: %{pgver}.5
|
|
+Version: %{pgver}.0
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
License: BSD
|
|
License: BSD
|
|
-Source0: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
|
+Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
|
-Source5: ftp://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
|
|
+Source5: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
|
|
Source6: README.rpm-dist
|
|
Source6: README.rpm-dist
|
|
Patch2: postgresql-8.3.3-nls.patch
|
|
Patch2: postgresql-8.3.3-nls.patch
|
|
Patch3: postgresql-7.4-ecpg-patch
|
|
Patch3: postgresql-7.4-ecpg-patch
|
|
@@ -41,7 +41,7 @@ Buildrequires: gettext >= 0.10.35
|
|
Buildrequires: pam-devel
|
|
Buildrequires: pam-devel
|
|
%endif
|
|
%endif
|
|
|
|
|
|
-Url: http://www.postgresql.org/
|
|
+Url: https://www.postgresql.org/
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
@@ -144,6 +144,8 @@ CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
|
--includedir=%{_includedir}/pgsql \
|
|
--includedir=%{_includedir}/pgsql \
|
|
--datadir=%{_datadir}/pgsql
|
|
--datadir=%{_datadir}/pgsql
|
|
|
|
|
|
|
|
+# workaround for bug with parallel build
|
|
|
|
+make %{?_smp_mflags} -C ./src/interfaces all ||:
|
|
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/errcodes.h
|
|
@@ -155,8 +157,6 @@ 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/
|
|
|
|
-cp -f ./src/backend/utils/fmgrprotos.h ./src/include/utils/
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT -C ./src/include install
|
|
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....
|
|
@@ -213,7 +213,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -n libpq%{pq_soname} -f libpq.lst
|
|
%files -n libpq%{pq_soname} -f libpq.lst
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
-%doc COPYRIGHT HISTORY INSTALL README*
|
|
+%license COPYRIGHT
|
|
|
|
+%doc HISTORY INSTALL README*
|
|
%{_libdir}/libecpg.so.*
|
|
%{_libdir}/libecpg.so.*
|
|
%{_libdir}/libecpg_compat.so.*
|
|
%{_libdir}/libecpg_compat.so.*
|
|
%{_libdir}/libpgtypes.so.*
|
|
%{_libdir}/libpgtypes.so.*
|
|
@@ -228,12 +229,16 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_libdir}/libpgtypes.so
|
|
%{_libdir}/libpgtypes.so
|
|
%{_libdir}/libpq.so
|
|
%{_libdir}/libpq.so
|
|
%{_libdir}/pkgconfig/*
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
+%dir %{_includedir}/pgsql
|
|
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
%{_mandir}/man1/ecpg.*
|
|
%{_mandir}/man1/ecpg.*
|
|
#%{_mandir}/man1/pg_config.*
|
|
#%{_mandir}/man1/pg_config.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Oct 05 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 12.0-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.5-1
|
|
* Tue Nov 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.5-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|