Compare commits
7 Commits
master
...
stream-pos
Author | SHA1 | Date |
---|---|---|
Patrik Novotný | 38b142f864 | |
Patrik Novotný | 392152b1f3 | |
Patrik Novotný | 9f56435086 | |
Patrik Novotný | 2f0ed64ad6 | |
Patrik Novotný | e55055d6d1 | |
Patrik Novotný | 8bbbb3ff39 | |
Patrik Novotný | b39f323932 |
|
@ -1,7 +1,3 @@
|
||||||
The libpq package is supposed to be used for all the PostgreSQL modules
|
|
||||||
available in RHEL 8, and ABI versioning will guarantee us that modular RPMs will
|
|
||||||
depend on appropriate libpq ABI version (picked at build-time).
|
|
||||||
|
|
||||||
diff --git a/config/Makefile b/config/Makefile
|
diff --git a/config/Makefile b/config/Makefile
|
||||||
index 67e7998f55..86612a42c3 100644
|
index 67e7998f55..86612a42c3 100644
|
||||||
--- a/config/Makefile
|
--- a/config/Makefile
|
||||||
|
@ -16,7 +12,7 @@ index 67e7998f55..86612a42c3 100644
|
||||||
$(MKDIR_P) '$(DESTDIR)$(pgxsdir)/config'
|
$(MKDIR_P) '$(DESTDIR)$(pgxsdir)/config'
|
||||||
diff --git a/config/build-exports-gnu-ld b/config/build-exports-gnu-ld
|
diff --git a/config/build-exports-gnu-ld b/config/build-exports-gnu-ld
|
||||||
new file mode 100755
|
new file mode 100755
|
||||||
index 0000000000..bdcfb40d48
|
index 0000000000..84c48e3ade
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/config/build-exports-gnu-ld
|
+++ b/config/build-exports-gnu-ld
|
||||||
@@ -0,0 +1,41 @@
|
@@ -0,0 +1,41 @@
|
||||||
|
@ -62,10 +58,10 @@ index 0000000000..bdcfb40d48
|
||||||
+echo " *;"
|
+echo " *;"
|
||||||
+close_block
|
+close_block
|
||||||
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
|
diff --git a/src/Makefile.shlib b/src/Makefile.shlib
|
||||||
index 95b82a6dea..a7065d02a4 100644
|
index 373d73caef..d5bd5468cd 100644
|
||||||
--- a/src/Makefile.shlib
|
--- a/src/Makefile.shlib
|
||||||
+++ b/src/Makefile.shlib
|
+++ b/src/Makefile.shlib
|
||||||
@@ -221,7 +221,7 @@ ifeq ($(PORTNAME), linux)
|
@@ -231,7 +231,7 @@ ifeq ($(PORTNAME), linux)
|
||||||
ifdef soname
|
ifdef soname
|
||||||
LINK.shared += -Wl,-soname,$(soname)
|
LINK.shared += -Wl,-soname,$(soname)
|
||||||
endif
|
endif
|
||||||
|
@ -75,15 +71,15 @@ index 95b82a6dea..a7065d02a4 100644
|
||||||
ifneq (,$(exports_file))
|
ifneq (,$(exports_file))
|
||||||
LINK.shared += -Wl,--version-script=$(exports_file)
|
LINK.shared += -Wl,--version-script=$(exports_file)
|
||||||
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt
|
diff --git a/src/interfaces/libpq/exports.txt b/src/interfaces/libpq/exports.txt
|
||||||
index d6a38d0df8..29bebeac7e 100644
|
index 7c808e5215..3631340b23 100644
|
||||||
--- a/src/interfaces/libpq/exports.txt
|
--- a/src/interfaces/libpq/exports.txt
|
||||||
+++ b/src/interfaces/libpq/exports.txt
|
+++ b/src/interfaces/libpq/exports.txt
|
||||||
@@ -171,4 +171,4 @@ PQsslAttributeNames 168
|
@@ -171,7 +171,7 @@ PQsslAttributeNames 168
|
||||||
PQsslAttribute 169
|
PQsslAttribute 169
|
||||||
PQsetErrorContextVisibility 170
|
PQsetErrorContextVisibility 170
|
||||||
PQresultVerboseErrorMessage 171
|
PQresultVerboseErrorMessage 171
|
||||||
-PQencryptPasswordConn 172
|
-PQencryptPasswordConn 172
|
||||||
+PQencryptPasswordConn 172 10
|
+PQencryptPasswordConn 172 10
|
||||||
--
|
PQresultMemorySize 173
|
||||||
2.17.0
|
PQhostaddr 174
|
||||||
|
PQgssEncInUse 175
|
||||||
|
|
30
libpq.spec
30
libpq.spec
|
@ -1,16 +1,16 @@
|
||||||
%global majorversion 11
|
%global majorversion 12
|
||||||
%global obsoletes_version %( echo $(( %majorversion + 1 )) )
|
%global obsoletes_version %( echo $(( %majorversion + 1 )) )
|
||||||
|
|
||||||
Summary: PostgreSQL client library
|
Summary: PostgreSQL client library
|
||||||
Name: libpq
|
Name: libpq
|
||||||
Version: %majorversion.3
|
Version: %{majorversion}.1
|
||||||
Release: 2%{?dist}
|
Release: 1%{?dist}
|
||||||
|
|
||||||
License: PostgreSQL
|
License: PostgreSQL
|
||||||
Url: http://www.postgresql.org/
|
Url: http://www.postgresql.org/
|
||||||
|
|
||||||
Source0: https://ftp.postgresql.org/pub/source/v%version/postgresql-%version.tar.bz2
|
Source0: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2
|
||||||
Source1: https://ftp.postgresql.org/pub/source/v%version/postgresql-%version.tar.bz2.sha256
|
Source1: https://ftp.postgresql.org/pub/source/v%{version}/postgresql-%{version}.tar.bz2.sha256
|
||||||
|
|
||||||
|
|
||||||
# Comments for these patches are in the patch files.
|
# Comments for these patches are in the patch files.
|
||||||
|
@ -56,7 +56,7 @@ package or any clients that need to connect to a PostgreSQL server.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
( cd "$(dirname "%SOURCE1")" ; sha256sum -c "%SOURCE1" )
|
( cd "$(dirname "%SOURCE1")" ; sha256sum -c "%SOURCE1" )
|
||||||
%autosetup -n postgresql-%version -p1
|
%autosetup -n postgresql-%{version} -p1
|
||||||
|
|
||||||
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
|
# remove .gitignore files to ensure none get into the RPMs (bug #642210)
|
||||||
find . -type f -name .gitignore | xargs rm
|
find . -type f -name .gitignore | xargs rm
|
||||||
|
@ -78,9 +78,11 @@ export SYMBOL_VERSION_PREFIX=RHPG_
|
||||||
--datadir=%_datadir/pgsql
|
--datadir=%_datadir/pgsql
|
||||||
|
|
||||||
%global build_subdirs \\\
|
%global build_subdirs \\\
|
||||||
|
src/include \\\
|
||||||
|
src/common \\\
|
||||||
|
src/port \\\
|
||||||
src/interfaces/libpq \\\
|
src/interfaces/libpq \\\
|
||||||
src/bin/pg_config \\\
|
src/bin/pg_config
|
||||||
src/include
|
|
||||||
|
|
||||||
for subdir in %build_subdirs; do
|
for subdir in %build_subdirs; do
|
||||||
%make_build -C "$subdir"
|
%make_build -C "$subdir"
|
||||||
|
@ -128,6 +130,18 @@ find_lang_bins %name-devel.lst pg_config
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Nov 25 2019 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 Sep 12 2019 Patrik Novotný <panovotn@redhat.com> - 12.0-0.2
|
||||||
|
- Rebase to upstream release 12beta4
|
||||||
|
|
||||||
|
* Wed Jul 03 2019 Patrik Novotný <panovotn@redhat.com> - 12.0-0.1
|
||||||
|
- Rebase to upstream release 12beta2-1
|
||||||
|
|
||||||
* Fri May 10 2019 Pavel Raiskup <praiskup@redhat.com> - 11.3-2
|
* Fri May 10 2019 Pavel Raiskup <praiskup@redhat.com> - 11.3-2
|
||||||
- obsolete anything < %%majorversion+1
|
- obsolete anything < %%majorversion+1
|
||||||
|
|
||||||
|
|
4
sources
4
sources
|
@ -1,2 +1,2 @@
|
||||||
SHA512 (postgresql-11.3.tar.bz2) = 03269bb88f44f3a81d5e3a8ca2fe59f63f784436840f08870b2e539755629cbde8ac288e0bb4472ee93294a88b37b814ddff48444254c1a3f7a10b4bb64f7133
|
SHA512 (postgresql-12.1.tar.bz2) = f45b1762fd60b6f7419305d108b7fc521e3a7afa833d3aacccba814465baf40d19f57ff9bf2909d726c4c94a1cd99a39f1aa8e45fd0364cdedbcbed36ff48caf
|
||||||
SHA512 (postgresql-11.3.tar.bz2.sha256) = ac1cd1e2c39c11fb48b2326c804f681fafad32bfa81e4954766916ce3879df8a792b2ff6067c11215b4b00b8ea176ead13a2be50e0ae6f8e11bda1ff7d264c07
|
SHA512 (postgresql-12.1.tar.bz2.sha256) = 275a72bb1e27c6ec4385722cd53d7244186885a402d613d1c6a45c1173154559791713dfbdf5af11b596a867cec7eb6be949c734badd3c458b0a9345b37bd899
|
||||||
|
|
Loading…
Reference in New Issue