- bsc#1205300: Update to 12.13:
* https://www.postgresql.org/about/news/2543/ * https://www.postgresql.org/docs/12/release-12-13.html - Sync spec file with postgresql15. OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/postgresql12?expand=0&rev=75
This commit is contained in:
parent
5224d7ae28
commit
290ea0293c
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:34b3f1c69408e22068c0c71b1827691f1c89153b0ad576c1a44f8920a858039c
|
|
||||||
size 21089064
|
|
@ -1 +0,0 @@
|
|||||||
34b3f1c69408e22068c0c71b1827691f1c89153b0ad576c1a44f8920a858039c postgresql-12.12.tar.bz2
|
|
3
postgresql-12.13.tar.bz2
Normal file
3
postgresql-12.13.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b6c623046af4548f11a84b407934d675d11ed070c793d15b04683bf5f322e02d
|
||||||
|
size 21114311
|
1
postgresql-12.13.tar.bz2.sha256
Normal file
1
postgresql-12.13.tar.bz2.sha256
Normal file
@ -0,0 +1 @@
|
|||||||
|
b6c623046af4548f11a84b407934d675d11ed070c793d15b04683bf5f322e02d postgresql-12.13.tar.bz2
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 10 16:29:10 UTC 2022 - Reinhard Max <max@suse.com>
|
||||||
|
|
||||||
|
- bsc#1205300: Update to 12.13:
|
||||||
|
* https://www.postgresql.org/about/news/2543/
|
||||||
|
* https://www.postgresql.org/docs/12/release-12-13.html
|
||||||
|
- Sync spec file with postgresql15.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 22 21:26:36 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Thu Sep 22 21:26:36 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define pgversion 12.12
|
%define pgversion 12.13
|
||||||
%define pgmajor 12
|
%define pgmajor 12
|
||||||
%define pgsuffix %pgmajor
|
%define pgsuffix %pgmajor
|
||||||
%define buildlibs 0
|
%define buildlibs 0
|
||||||
@ -24,8 +24,7 @@
|
|||||||
%define latest_supported_llvm_ver 14
|
%define latest_supported_llvm_ver 14
|
||||||
|
|
||||||
### CUT HERE ###
|
### CUT HERE ###
|
||||||
%define pgname postgresql%pgsuffix
|
%define pgname postgresql%pgmajor
|
||||||
%define priority %pgsuffix
|
|
||||||
%define libpq libpq5
|
%define libpq libpq5
|
||||||
%define libecpg libecpg6
|
%define libecpg libecpg6
|
||||||
%define libpq_so libpq.so.5
|
%define libpq_so libpq.so.5
|
||||||
@ -52,9 +51,9 @@ Name: %pgname
|
|||||||
%define mini 0
|
%define mini 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# Use Python 2 for PostgreSQL 9.x on all platforms and for PostgreSQL 10 on SLE12.
|
# Use Python 2 for for PostgreSQL 10 on SLE12.
|
||||||
# Use Python 3 for everything else.
|
# Use Python 3 for everything else.
|
||||||
%if %pgsuffix < 90 && ( 0%{?is_opensuse} || 0%{?sle_version} >= 150000 || %pgsuffix > 10 )
|
%if 0%{?is_opensuse} || 0%{?sle_version} >= 150000 || %pgmajor > 10
|
||||||
%define python python3
|
%define python python3
|
||||||
%else
|
%else
|
||||||
%define python python
|
%define python python
|
||||||
@ -104,7 +103,7 @@ BuildRequires: %libpq
|
|||||||
%bcond_with systemd_notify
|
%bcond_with systemd_notify
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1500 && %pgsuffix >= 11 && %pgsuffix < 90
|
%if 0%{?suse_version} >= 1500 && %pgmajor >= 11
|
||||||
%ifarch riscv64
|
%ifarch riscv64
|
||||||
%bcond_with llvm
|
%bcond_with llvm
|
||||||
%else
|
%else
|
||||||
@ -121,7 +120,7 @@ BuildRequires: %libpq
|
|||||||
%bcond_with check
|
%bcond_with check
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if ( %pgsuffix >= 11 && %pgsuffix < 90 ) || %mini
|
%if %pgmajor >= 11 || %mini
|
||||||
%bcond_without server_devel
|
%bcond_without server_devel
|
||||||
%else
|
%else
|
||||||
%bcond_with server_devel
|
%bcond_with server_devel
|
||||||
@ -163,8 +162,8 @@ License: PostgreSQL
|
|||||||
Group: Productivity/Databases/Tools
|
Group: Productivity/Databases/Tools
|
||||||
Version: %pgversion
|
Version: %pgversion
|
||||||
Release: 0
|
Release: 0
|
||||||
Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{tarversion}.tar.bz2
|
Source0: https://ftp.postgresql.org/pub/source/v%{tarversion}/postgresql-%{tarversion}.tar.bz2
|
||||||
Source1: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{tarversion}.tar.bz2.sha256
|
Source1: https://ftp.postgresql.org/pub/source/v%{tarversion}/postgresql-%{tarversion}.tar.bz2.sha256
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Source3: postgresql-README.SUSE
|
Source3: postgresql-README.SUSE
|
||||||
Source17: postgresql-rpmlintrc
|
Source17: postgresql-rpmlintrc
|
||||||
@ -301,7 +300,7 @@ types and functions.
|
|||||||
|
|
||||||
This package contains the header files and libraries needed to compile
|
This package contains the header files and libraries needed to compile
|
||||||
C extensions that link into the PostgreSQL server. For building client
|
C extensions that link into the PostgreSQL server. For building client
|
||||||
applications, see the postgresql%pgsuffix-devel package.
|
applications, see the postgresql%pgmajor-devel package.
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%description %devel
|
%description %devel
|
||||||
@ -317,7 +316,7 @@ need to install this package if you want to develop applications in C
|
|||||||
which will interact with a PostgreSQL server.
|
which will interact with a PostgreSQL server.
|
||||||
|
|
||||||
For building PostgreSQL server extensions, see the
|
For building PostgreSQL server extensions, see the
|
||||||
postgresql%pgsuffix-server-devel package.
|
postgresql%pgmajor-server-devel package.
|
||||||
|
|
||||||
%package server
|
%package server
|
||||||
Summary: The Programs Needed to Create and Run a PostgreSQL Server
|
Summary: The Programs Needed to Create and Run a PostgreSQL Server
|
||||||
@ -645,7 +644,7 @@ cp doc/KNOWN_BUGS doc/MISSING_FEATURES COPYRIGHT \
|
|||||||
cp -a %SOURCE3 %buildroot%pgdocdir/README.SUSE
|
cp -a %SOURCE3 %buildroot%pgdocdir/README.SUSE
|
||||||
# Use versioned names for the man pages:
|
# Use versioned names for the man pages:
|
||||||
for f in %buildroot%pgmandir/man*/*; do
|
for f in %buildroot%pgmandir/man*/*; do
|
||||||
mv $f ${f}pg%pgsuffix
|
mv $f ${f}pg%pgmajor
|
||||||
done
|
done
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -712,6 +711,9 @@ genlists server \
|
|||||||
pg_resetwal \
|
pg_resetwal \
|
||||||
pg_waldump \
|
pg_waldump \
|
||||||
pg_resetxlog \
|
pg_resetxlog \
|
||||||
|
%if %pgmajor >= 15
|
||||||
|
pg_upgrade \
|
||||||
|
%endif
|
||||||
postgres \
|
postgres \
|
||||||
postmaster
|
postmaster
|
||||||
|
|
||||||
@ -722,7 +724,9 @@ genlists contrib \
|
|||||||
pg_amcheck \
|
pg_amcheck \
|
||||||
pg_standby \
|
pg_standby \
|
||||||
pg_test_fsync \
|
pg_test_fsync \
|
||||||
|
%if %pgmajor < 15
|
||||||
pg_upgrade \
|
pg_upgrade \
|
||||||
|
%endif
|
||||||
pgbench \
|
pgbench \
|
||||||
vacuumlo \
|
vacuumlo \
|
||||||
pg_test_timing
|
pg_test_timing
|
||||||
@ -752,7 +756,7 @@ done
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
mkdir -p %buildroot%pgmandir/man1
|
mkdir -p %buildroot%pgmandir/man1
|
||||||
cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgsuffix
|
cp -a doc/src/sgml/man1/ecpg.1 %buildroot%pgmandir/man1/ecpg.1pg%pgmajor
|
||||||
%find_lang ecpg-$VLANG devel.files
|
%find_lang ecpg-$VLANG devel.files
|
||||||
ln -s %pgbindir/ecpg %buildroot%_bindir/ecpg
|
ln -s %pgbindir/ecpg %buildroot%_bindir/ecpg
|
||||||
|
|
||||||
@ -792,25 +796,25 @@ awk -v P=%buildroot '/^(%lang|[^%])/{print P $NF}' libpq.files libecpg.files | x
|
|||||||
%if %{with server_devel}
|
%if %{with server_devel}
|
||||||
%post server-devel
|
%post server-devel
|
||||||
%endif
|
%endif
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
|
|
||||||
%postun %devel
|
%postun %devel
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%if %{with server_devel}
|
%if %{with server_devel}
|
||||||
%postun server-devel
|
%postun server-devel
|
||||||
%endif
|
%endif
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
|
|
||||||
%if !%mini
|
%if !%mini
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
|
|
||||||
%post server
|
%post server
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
|
|
||||||
%preun server
|
%preun server
|
||||||
# Stop only when we are uninstalling the currently running version
|
# Stop only when we are uninstalling the currently running version
|
||||||
@ -833,7 +837,7 @@ if [ "$FIRST_ARG" -eq 0 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%postun server
|
%postun server
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
# Restart only when we are updating the currently running version
|
# Restart only when we are updating the currently running version
|
||||||
# or from the old packaging scheme
|
# or from the old packaging scheme
|
||||||
test -n "$FIRST_ARG" || FIRST_ARG="$1"
|
test -n "$FIRST_ARG" || FIRST_ARG="$1"
|
||||||
@ -857,10 +861,10 @@ if [ "$FIRST_ARG" -ge 1 ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post contrib
|
%post contrib
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
|
|
||||||
%postun contrib
|
%postun contrib
|
||||||
/usr/share/postgresql/install-alternatives %priority
|
/usr/share/postgresql/install-alternatives %pgmajor
|
||||||
|
|
||||||
%if %buildlibs
|
%if %buildlibs
|
||||||
%post -n %libpq -p /sbin/ldconfig
|
%post -n %libpq -p /sbin/ldconfig
|
||||||
@ -907,9 +911,7 @@ fi
|
|||||||
%dir %pgbasedir
|
%dir %pgbasedir
|
||||||
%dir %pgextensiondir
|
%dir %pgextensiondir
|
||||||
%dir %pglibdir
|
%dir %pglibdir
|
||||||
%if %pgsuffix < 90
|
|
||||||
%pglibdir/pgoutput.so
|
%pglibdir/pgoutput.so
|
||||||
%endif
|
|
||||||
%pglibdir/plpgsql.so
|
%pglibdir/plpgsql.so
|
||||||
%pglibdir/dict_snowball.so
|
%pglibdir/dict_snowball.so
|
||||||
%pgdatadir/tsearch_data
|
%pgdatadir/tsearch_data
|
||||||
@ -920,9 +922,6 @@ fi
|
|||||||
%if %buildlibs
|
%if %buildlibs
|
||||||
%exclude %pgdatadir/pg_service.conf.sample
|
%exclude %pgdatadir/pg_service.conf.sample
|
||||||
%endif
|
%endif
|
||||||
%if %pgsuffix > 90
|
|
||||||
%exclude %pgdatadir/*.pltcl
|
|
||||||
%endif
|
|
||||||
%pglibdir/*_and_*.so
|
%pglibdir/*_and_*.so
|
||||||
%pglibdir/euc2004_sjis2004.so
|
%pglibdir/euc2004_sjis2004.so
|
||||||
%pglibdir/libpqwalreceiver.so
|
%pglibdir/libpqwalreceiver.so
|
||||||
@ -945,10 +944,6 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%pgextensiondir/pltcl*
|
%pgextensiondir/pltcl*
|
||||||
%pglibdir/pltcl.so
|
%pglibdir/pltcl.so
|
||||||
%if %pgsuffix > 90
|
|
||||||
%pgdatadir/*.pltcl
|
|
||||||
%pgbindir/pltcl*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files plperl -f plperl.lang
|
%files plperl -f plperl.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user