Browse Source

postgresql update to pg12.3

Signed-off-by: pgbuilder_pel7ppc64lebuilder0 <pgbuilder@powerel.org>
master
pgbuilder_pel7ppc64lebuilder0 4 years ago
parent
commit
c268498d1f
  1. BIN
      SOURCES/postgresql-12.3-US.pdf
  2. 108
      SPECS/postgresql.spec

BIN
SOURCES/postgresql-12.3-US.pdf

Binary file not shown.

108
SPECS/postgresql.spec

@ -32,6 +32,7 @@ @@ -32,6 +32,7 @@
%{!?beta:%global beta 0}

%{!?test:%global test 0}
%{!?llvmjit:%global llvmjit 0}
%{!?upgrade:%global upgrade 1}
%{!?plpython:%global plpython 1}
%{!?plpython3:%global plpython3 1}
@ -59,7 +60,7 @@ @@ -59,7 +60,7 @@
Summary: PostgreSQL client programs
Name: postgresql
%global majorversion 12
Version: %{majorversion}.1
Version: %{majorversion}.3
Release: 1%{?dist}

# The PostgreSQL license is very similar to other MIT licenses, but the OSI
@ -71,8 +72,8 @@ Url: http://www.postgresql.org/ @@ -71,8 +72,8 @@ Url: http://www.postgresql.org/
# in-place upgrade of an old database. In most cases it will not be critical
# that this be kept up with the latest minor release of the previous series;
# but update when bugs affecting pg_dump output are fixed.
%global prevversion 11.6
%global prevmajorversion 11
%global prevversion %{prevmajorversion}.8
%global prev_prefix %{_libdir}/pgsql/postgresql-%{prevmajorversion}
%global precise_version %{?epoch:%epoch:}%version-%release

@ -105,13 +106,13 @@ Source17: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{pre @@ -105,13 +106,13 @@ Source17: https://ftp.postgresql.org/pub/source/v%{prevversion}/postgresql-%{pre
Patch1: rpm-pgsql.patch
Patch2: postgresql-logging.patch
Patch5: postgresql-var-run-socket.patch
Patch6: postgresql-man.patch
Patch8: postgresql-external-libpq.patch
Patch9: postgresql-server-pg_config.patch

BuildRequires: gcc
BuildRequires: perl(ExtUtils::MakeMaker) glibc-devel bison flex gawk
BuildRequires: perl(ExtUtils::Embed), perl-devel
BuildRequires: perl(Opcode)
%if 0%{?fedora} || 0%{?rhel} > 7
BuildRequires: perl-generators
%endif
@ -238,7 +239,10 @@ Summary: PostgreSQL development header files and libraries @@ -238,7 +239,10 @@ Summary: PostgreSQL development header files and libraries
Requires: libicu-devel
%endif
%if %kerberos
Requires: krb5-devel
Requires: krb5-devel
%endif
%if %llvmjit
Requires: clang-devel llvm-devel
%endif

%description server-devel
@ -352,6 +356,30 @@ PostgreSQL database management system, including regression tests and @@ -352,6 +356,30 @@ PostgreSQL database management system, including regression tests and
benchmarks.
%endif

%if %llvmjit
%package llvmjit
Summary: Just-in-time compilation support for PostgreSQL
Requires: %{name}-server%{?_isa} = %{version}-%{release}
%if 0%{?rhel} && 0%{?rhel} == 7
Requires: llvm5.0 >= 5.0
%else
Requires: llvm => 5.0
%endif
Provides: postgresql-llvmjit >= %{version}-%{release}

%ifarch ppc64 ppc64le
AutoReq: 0
Requires: advance-toolchain-%{atstring}-runtime
%endif

BuildRequires: llvm-devel >= 5.0 clang-devel >= 5.0

%description llvmjit
The postgresql-llvmjit package contains support for
just-in-time compiling parts of PostgreSQL queries. Using LLVM it
compiles e.g. expressions and tuple deforming into native code, with the
goal of accelerating analytics queries.
%endif

%prep
(
@ -365,7 +393,6 @@ benchmarks. @@ -365,7 +393,6 @@ benchmarks.
%patch1 -p1
%patch2 -p1
%patch5 -p1
%patch6 -p1
%patch8 -p1
%patch9 -p1

@ -473,6 +500,9 @@ common_configure_options=' @@ -473,6 +500,9 @@ common_configure_options='
%if %icu
--with-icu
%endif
%if %llvmjit
--with-llvm
%endif
'

%if %plpython3
@ -908,6 +938,11 @@ make -C postgresql-setup-%{setup_version} check @@ -908,6 +938,11 @@ make -C postgresql-setup-%{setup_version} check
%{_mandir}/man1/reindexdb.*
%{_mandir}/man1/vacuumdb.*
%{_mandir}/man7/*
%if %llvmjit
# Install bitcode directory along with the main package,
# so that extensions can use this dir.
%dir %{_libdir}/pgsql/bitcode
%endif


%files docs
@ -1179,6 +1214,13 @@ make -C postgresql-setup-%{setup_version} check @@ -1179,6 +1214,13 @@ make -C postgresql-setup-%{setup_version} check
%{macrosdir}/macros.%name-upgrade
%endif

%if %llvmjit
%files llvmjit
%defattr(-,root,root)
%{_libdir}/pgsql/bitcode/*
%{_libdir}/pgsql/llvmjit.so
%{_libdir}/pgsql/llvmjit_types.bc
%endif

%if %plperl
%files plperl -f plperl.lst
@ -1216,21 +1258,59 @@ make -C postgresql-setup-%{setup_version} check @@ -1216,21 +1258,59 @@ make -C postgresql-setup-%{setup_version} check


%changelog
* Mon Nov 25 2019 Patrik Novotný <panovotn@redhat.com> - 12.1-1
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 12.3-2
- Rebuilt for Python 3.9

* Tue May 19 2020 Patrik Novotný <panovotn@redhat.com> - 12.3-2
- Drop postgresql-man.patch

* Mon May 18 2020 Patrik Novotný <panovotn@redhat.com> - 12.3-1
- Rebase to upstream release 12.3

* Fri May 15 2020 Pete Walter <pwalter@fedoraproject.org> - 12.2-3
- Rebuild for ICU 67

* Thu Mar 12 2020 Patrik Novotný <panovotn@redhat.com> - 12.2-2
- Fix requirements for JIT in postgresql-server-devel
- Fix build issues regarding new perl update

* Fri Feb 14 2020 Patrik Novotný <panovotn@redhat.com> - 12.2-1
- Rebase to upstream release 12.2

* Tue Feb 11 2020 Patrik Novotný <panovotn@redhat.com> - 12.1-1
- Rebase to upstream release 12.1

* Thu Oct 03 2019 Patrik Novotný <panovotn@redhat.com> - 12.0-1
- Rebase to upstream release 12.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 11.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

* Mon Nov 25 2019 Patrik Novotný <panovotn@redhat.com> - 11.6-1
- Rebase to upstream version 11.6

* Thu Sep 12 2019 Patrik Novotný <panovotn@redhat.com> - 12.0-0.3
- Rebase to upstream beta release 12beta4
* Fri Nov 01 2019 Pete Walter <pwalter@fedoraproject.org> - 11.5-6
- Rebuild for ICU 65

* Thu Sep 05 2019 Patrik Novotný <panovotn@redhat.com> - 11.5-5
- postgresql-server-devel requires krb5-devel

* Thu Aug 08 2019 Petr Kubat <pkubat@redhat.com> - 12.0-0.2
- Rebase to upstream beta release 12beta3
* Tue Sep 03 2019 Patrik Novotný <panovotn@redhat.com> - 11.5-4
- Add explicit obsoletes to plpython2 package

* Mon Sep 02 2019 Patrik Novotný <panovotn@redhat.com> - 11.5-3
- Rename plpython to plpython2 and provide plpython virtually.

* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 11.5-2
- Rebuilt for Python 3.8

* Wed Aug 07 2019 Petr Kubat <pkubat@redhat.com> - 11.5-1
- New upstream version 11.5
https://www.postgresql.org/docs/11/release-11-5.html

* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 11.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

* Wed Jul 03 2019 Patrik Novotný <panovotn@redhat.com> - 12.0-0.1
- Rebase to upstream beta release 12beta2
* Tue Jul 09 2019 Petr Kubat <pkubat@redhat.com> - 11.4-1
- New upstream version 11.4
https://www.postgresql.org/docs/11/release-11-4.html

* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 11.3-2
- Perl 5.30 rebuild

Loading…
Cancel
Save