|
@@ -15,7 +15,7 @@
|
|
|
Summary: PostgreSQL client programs
|
|
|
Summary(ja): PostgreSQL のクライアントプログラム群
|
|
|
Name: postgresql
|
|
|
-Version: 16.4
|
|
|
+Version: 17.2
|
|
|
Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
Group: office
|
|
|
Vendor: Project Vine
|
|
@@ -56,6 +56,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: perl build-essential
|
|
|
BuildRequires: bison, flex, pam-devel
|
|
|
BuildRequires: libicu-devel
|
|
|
+BuildRequires: libxslt
|
|
|
+BuildRequires: docbook-style-xsl
|
|
|
%if %{with plpython3}
|
|
|
BuildRequires: python3 python3-devel python3-rpm-macros
|
|
|
%endif
|
|
@@ -374,10 +376,6 @@ CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
|
|
|
|
|
|
# Strip out -ffast-math from CFLAGS....
|
|
|
|
|
|
-# to link libpq statically.
|
|
|
-LIBPQ_PATH=`pwd`/src/interfaces/libpq/libpq.a
|
|
|
-perl -pi -e "s|^libpq = .+\$|libpq = $LIBPQ_PATH -lpthread|" src/Makefile.global.in
|
|
|
-
|
|
|
CFLAGS=`echo $CFLAGS|xargs -n 1|grep -v ffast-math|xargs -n 100`
|
|
|
|
|
|
export PYTHON=%{__python3}
|
|
@@ -421,8 +419,30 @@ export PYTHON=%{__python3}
|
|
|
%endif
|
|
|
%{nil}
|
|
|
|
|
|
+# to link libpq statically.
|
|
|
+LIBPQ_PATH=`pwd`/src/interfaces/libpq/libpq.a
|
|
|
+perl -pi -e "s|^libpq = .+\$|libpq = $LIBPQ_PATH -lpthread|" \
|
|
|
+ src/Makefile.global
|
|
|
+sed -i -e '/^libpq = /a libpq_static = $(libpq) -lpgcommon_shlib' \
|
|
|
+ src/Makefile.global
|
|
|
+
|
|
|
+sed -i -e 's|$(libpq_pgport)|$(libpq_static) -lpgcommon_shlib|' \
|
|
|
+ src/bin/pg_amcheck/Makefile \
|
|
|
+ src/bin/pg_basebackup/Makefile \
|
|
|
+ src/bin/pg_dump/Makefile \
|
|
|
+ src/bin/pg_rewind/Makefile \
|
|
|
+ src/bin/pg_upgrade/Makefile \
|
|
|
+ src/bin/pgbench/Makefile \
|
|
|
+ src/bin/psql/Makefile \
|
|
|
+ src/bin/scripts/Makefile \
|
|
|
+ src/test/isolation/Makefile \
|
|
|
+ src/test/regress/GNUmakefile \
|
|
|
+ contrib/oid2name/Makefile \
|
|
|
+ contrib/vacuumlo/Makefile
|
|
|
+
|
|
|
make %{?_smp_mflags} all
|
|
|
make %{?_smp_mflags} -C contrib all
|
|
|
+make %{?_smp_mflags} -C doc all
|
|
|
|
|
|
%if %test
|
|
|
pushd src/test
|
|
@@ -506,9 +526,11 @@ find_lang_bins ()
|
|
|
}
|
|
|
find_lang_bins devel.lst pg_config
|
|
|
find_lang_bins server.lst \
|
|
|
- initdb pg_amcheck pg_archivecleanup pg_basebackup pg_checksums pg_controldata \
|
|
|
- pg_ctl pg_resetwal pg_rewind pg_test_fsync pg_test_timing pg_waldump \
|
|
|
- plpgsql postgres pg_upgrade pg_verifybackup
|
|
|
+ initdb pg_amcheck pg_archivecleanup pg_basebackup \
|
|
|
+ pg_checksums pg_controldata pg_ctl pg_resetwal pg_rewind \
|
|
|
+ pg_test_fsync pg_test_timing pg_waldump \
|
|
|
+ plpgsql postgres pg_upgrade pg_verifybackup \
|
|
|
+ pg_combinebackup pg_walsummary
|
|
|
find_lang_bins main.lst \
|
|
|
pg_dump pgscripts psql
|
|
|
%if %{with plperl}
|
|
@@ -613,7 +635,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%defattr(-,root,root)
|
|
|
%license COPYRIGHT
|
|
|
%doc doc/KNOWN_BUGS doc/MISSING_FEATURES
|
|
|
-%doc README HISTORY INSTALL
|
|
|
+%doc README.md HISTORY
|
|
|
%doc README.rpm-dist
|
|
|
##doc doc/html
|
|
|
%{_bindir}/clusterdb
|
|
@@ -650,7 +672,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%defattr(-,root,root)
|
|
|
%doc contrib/README contrib/spi/*.example
|
|
|
%{_libdir}/postgresql/_int.so
|
|
|
-%{_libdir}/postgresql/adminpack.so
|
|
|
%{_libdir}/postgresql/amcheck.so
|
|
|
%{_libdir}/postgresql/auth_delay.so
|
|
|
%{_libdir}/postgresql/auto_explain.so
|
|
@@ -674,7 +695,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/postgresql/lo.so
|
|
|
%{_libdir}/postgresql/ltree.so
|
|
|
%{_libdir}/postgresql/moddatetime.so
|
|
|
-%{_libdir}/postgresql/old_snapshot.so
|
|
|
%{_libdir}/postgresql/pageinspect.so
|
|
|
%{_libdir}/postgresql/passwordcheck.so
|
|
|
%{_libdir}/postgresql/pg_buffercache.so
|
|
@@ -725,7 +745,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_bindir}/pg_archivecleanup
|
|
|
%{_bindir}/pg_basebackup
|
|
|
%{_bindir}/pg_checksums
|
|
|
+%{_bindir}/pg_combinebackup
|
|
|
%{_bindir}/pg_controldata
|
|
|
+%{_bindir}/pg_createsubscriber
|
|
|
%{_bindir}/pg_ctl
|
|
|
%{_bindir}/pg_isready
|
|
|
%{_bindir}/pg_receivewal
|
|
@@ -737,6 +759,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_bindir}/pg_upgrade
|
|
|
%{_bindir}/pg_verifybackup
|
|
|
%{_bindir}/pg_waldump
|
|
|
+%{_bindir}/pg_walsummary
|
|
|
%{_bindir}/pgbench
|
|
|
%{_bindir}/postgres
|
|
|
%{_mandir}/man1/initdb.*
|
|
@@ -744,7 +767,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_mandir}/man1/pg_archivecleanup.*
|
|
|
%{_mandir}/man1/pg_basebackup.*
|
|
|
%{_mandir}/man1/pg_checksums.*
|
|
|
+%{_mandir}/man1/pg_combinebackup.1.gz
|
|
|
%{_mandir}/man1/pg_controldata.*
|
|
|
+%{_mandir}/man1/pg_createsubscriber.1.gz
|
|
|
%{_mandir}/man1/pg_ctl.*
|
|
|
%{_mandir}/man1/pg_isready.*
|
|
|
%{_mandir}/man1/pg_receivewal.*
|
|
@@ -756,6 +781,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_mandir}/man1/pg_upgrade.*
|
|
|
%{_mandir}/man1/pg_verifybackup.*
|
|
|
%{_mandir}/man1/pg_waldump.*
|
|
|
+%{_mandir}/man1/pg_walsummary.1.gz
|
|
|
%{_mandir}/man1/pgbench.*
|
|
|
%{_mandir}/man1/postgres.*
|
|
|
%dir %{_libdir}/postgresql
|
|
@@ -840,6 +866,12 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Nov 27 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.2-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
+* Sat Nov 16 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.1-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Sat Aug 24 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 16.4-1
|
|
|
- new upstream release.
|
|
|
|