Compare commits

...
Sign in to create a new pull request.

25 commits

Author SHA1 Message Date
Fedora Release Engineering
9440861ccb Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 19:35:26 +00:00
Filip Janus
e0ed6a0c41 gcc now uses std=gnu23
Use std=c17 to avoid errors
2025-02-02 15:39:23 +00:00
Fedora Release Engineering
c9ff9fe252 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 11:05:36 +00:00
Ales Nezbeda
2f6e14c44c Update to 16.4
Fix compilation sometimes failing due to race condition in makefile
Resolves: BZ:2290330
2024-08-29 13:08:07 +02:00
Fedora Release Engineering
e60685a0df Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 13:44:55 +00:00
Ales Nezbeda
f2d6216975 Merge #11 Bump version to 16.3 2024-06-10 07:41:45 +00:00
Ales Nezbeda
65adc8c6d7 Bump version to 16.3 2024-06-03 10:15:12 +02:00
Pavel Raiskup
2d0e515141 Drop executable bit from sources and .gitignore files 2024-06-02 12:49:10 +02:00
Fedora Release Engineering
4b1075ab35 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 01:59:14 +00:00
Yaakov Selkowitz
ce6d1f768e Update to 16.1 2024-01-21 21:44:37 -05:00
Fedora Release Engineering
1328413b81 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 03:58:34 +00:00
Ondřej Sloup
4e48d1dafd Fix the log hierarchy 2023-08-22 03:10:47 +02:00
Ondřej Sloup
6c4b5dac4f Rebase to the latest upstream version
Updated dependency patch file to match the rebase
2023-08-22 02:36:54 +02:00
Filip Janus
d8d5b37b1e migrated to SPDX license 2023-08-21 11:54:32 +02:00
Fedora Release Engineering
fb0ee4da57 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 10:44:50 +00:00
Fedora Release Engineering
7727291730 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 16:13:23 +00:00
Ondřej Sloup
24c79b0e41 Raise the release number as dependencies change enabled a new build 2022-09-01 17:59:18 +02:00
Fedora Release Engineering
d292a61671 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 17:41:30 +00:00
Ondřej Sloup
bc73b29bfb Format the spec 2022-06-23 12:05:50 +02:00
Ondřej Sloup
0acdf142d1 Rebase to 14.4 2022-06-23 10:37:02 +02:00
Filip Janus
9ca5d6fc26 Replace source of tests to upstream repo instead of fork 2022-03-18 11:06:25 +01:00
Filip Janus
5b845be81f Fix offsets in patches 2022-02-23 10:42:44 +01:00
Filip Janus
bdc4249e7a Fix changelog date 2022-02-23 09:27:33 +01:00
Filip Janus
2fbd21fcc9 Update to 14.2 2022-02-22 14:56:47 +01:00
Fedora Release Engineering
6aa957dd62 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 16:06:52 +00:00
6 changed files with 77 additions and 27 deletions

7
ci.fmf
View file

@ -1,11 +1,8 @@
summary: Tier tests
discover:
how: fmf
# using temporary location before the test is merged
#repository: git://pkgs.devel.redhat.com/tests/micropipenv
#ref: master
repository: https://src.fedoraproject.org/forks/hhorak/tests/postgresql.git
ref: add-libecpg
repository: https://src.fedoraproject.org/tests/postgresql.git
ref: main
filter: 'tag:libecpg'
execute:
how: tmt

View file

@ -1,11 +1,10 @@
Nothing ever depended on libecpg_compat.so.3 in Fedora, so don't build
it now, at least till somebody explicitly requests that.
diff --git a/src/interfaces/ecpg/Makefile b/src/interfaces/ecpg/Makefile
index 41460a1..cc3dd37 100644
--- a/src/interfaces/ecpg/Makefile
+++ b/src/interfaces/ecpg/Makefile
@@ -2,7 +2,7 @@ subdir = src/interfaces/ecpg
diff -ur postgresql-14.2_original/src/interfaces/ecpg/Makefile postgresql-14.2/src/interfaces/ecpg/Makefile
--- postgresql-14.2_original/src/interfaces/ecpg/Makefile 2022-02-23 09:31:24.000000000 +0100
+++ postgresql-14.2/src/interfaces/ecpg/Makefile 2022-02-23 10:30:19.000000000 +0100
@@ -2,7 +2,7 @@
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
@ -13,4 +12,4 @@ index 41460a1..cc3dd37 100644
+SUBDIRS = include pgtypeslib ecpglib preproc
# Suppress parallel build of subdirectories to avoid a bug in GNU make 3.82, cf
# http://savannah.gnu.org/bugs/?30653
# https://savannah.gnu.org/bugs/?30653

View file

@ -1,12 +1,11 @@
diff --git a/src/interfaces/libpq/Makefile b/src/interfaces/libpq/Makefile
index 32a9fdfb7b..899de131da 100644
--- a/src/interfaces/libpq/Makefile
+++ b/src/interfaces/libpq/Makefile
@@ -76,8 +76,6 @@ SHLIB_PREREQS = submake-libpgport
diff -ur postgresql-14.4_original/src/interfaces/libpq/Makefile postgresql-14.4/src/interfaces/libpq/Makefile
--- postgresql-14.4_original/src/interfaces/libpq/Makefile 2022-06-22 12:24:56.506658251 +0200
+++ postgresql-14.4/src/interfaces/libpq/Makefile 2022-06-22 12:25:46.222779323 +0200
@@ -98,8 +98,6 @@
PKG_CONFIG_REQUIRES_PRIVATE = libssl, libcrypto
endif
SHLIB_EXPORTS = exports.txt
-all: all-lib
-all: all-lib libpq-refs-stamp
-
# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib

View file

@ -24,7 +24,7 @@ diff -ur postgresql-12.2/src/Makefile.global.in postgresql-12.2_patch/src/Makefi
+libpq = -lpq
# libpq_pgport is for use by client executables (not libraries) that use libpq.
# We force clients to pull symbols from the non-shared libraries libpgport
# We want clients to pull symbols from the non-shared libraries libpgport
@@ -580,7 +580,6 @@
# Commonly used submake targets

View file

@ -1,9 +1,9 @@
%global majorversion 13
%global majorversion 16
Summary: ECPG - Embedded SQL in C
Name: libecpg
Version: %majorversion.3
Release: 1%{?dist}
Version: %majorversion.4
Release: 3%{?dist}
License: PostgreSQL
Url: http://www.postgresql.org/
@ -29,6 +29,7 @@ BuildRequires: libpq-devel
BuildRequires: gettext
BuildRequires: multilib-rpm-config
BuildRequires: make
BuildRequires: libicu-devel
Requires: libpgtypes = %{version}-%{release}
@ -53,6 +54,7 @@ package or any clients that use the ECPG to connect to a PostgreSQL server.
%package -n libpgtypes
Summary: Map PostgreSQL database types to C equivalents
%description -n libpgtypes
The pgtypes library maps PostgreSQL database types to C equivalents that can be
used in C programs. It also offers functions to do basic calculations with those
@ -68,6 +70,7 @@ find . -type f -name .gitignore | xargs rm
%build
export CFLAGS="$CFLAGS -std=c17"
# We don't build server nor client (e.g. /bin/psql) binaries in this package, so
# we can disable some configure options.
%configure \
@ -79,7 +82,7 @@ find . -type f -name .gitignore | xargs rm
--without-readline \
--datadir=%_datadir/pgsql
%make_build -C "src/interfaces/ecpg"
%make_build -C "src/interfaces/ecpg" -j1
%install
@ -130,7 +133,59 @@ find_lang_bins %name-devel.lst ecpg
%changelog
* Thu Jun 17 2021 Filip Januš <fjanus@redhat.com> - 13.3-1
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 16.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Aug 29 2024 Ales Nezbeda <anezbeda@redhat.com> - 16.4-1
- Update to 16.4
- Fix compilation sometimes failing due to race condition in makefile
- Resolves: BZ:2290330
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Mon May 27 2024 Ales Nezbeda <anezbeda@redhat.com> - 16.3-1
- Update to 16.3
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 16.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 16.1-1
- Update to 16.1
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 15.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Aug 22 2023 Ondrej Sloup <osloup@redhat.com> - 15.4-1
- Rebase to the latest upstream version
- Update dependency patch file to match the rebase
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 14.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 14.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Sep 1 2022 Ondřej Sloup <osloup@redhat.com> - 14.4-3
- Raise the release number as dependencies change enabled a new build
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jun 22 2022 Ondřej Sloup <osloup@redhat.com> - 14.4-1
- Update to 14.4
- Update libecpg-12.2-dependency-build.patch file
* Tue Feb 22 2022 Filip Januš <fjanus@redhat.com> - 14.2-1
- Update to 14.2
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jul 27 2021 Filip Januš <fjanus@redhat.com> - 13.3-1
- Update to 13.3
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-6

View file

@ -1,2 +1,2 @@
SHA512 (postgresql-13.3.tar.bz2) = 1560cc766982a9ea9d33c77835b20e33e11b03acb77fc75d905c565883935a7dbcd27b9b2ab6a0ecdb815261f7c259865cb3dac85c10a3181c3fcaeb4d28bf60
SHA512 (postgresql-13.3.tar.bz2.sha256) = 5d0297a8e7596cf6305592de8a5c66f587b3d5bd9f4b4d1780357798381482e9653c42557fdde26f62eacf2f814c6d7c9ab8189faa39a5eb532384630fbcfe26
SHA512 (postgresql-16.4.tar.bz2) = f2070299f0857a270317ac984f8393374cf00d4f32a082fe3c5481e36c560595ea711fed95e40d1bc90c5089edf8f165649d443d8b9c68614e1c83fc91268e96
SHA512 (postgresql-16.4.tar.bz2.sha256) = f5a33591b4a0810e2f90d21df471ba086acbd1f97099e38aed46e4d3b45ee72037ef5958c7f155dd9fb7969152599fb6946b792a12d92575bfbc595049b74674