Compare commits

..

No commits in common. "c8" and "c9s" have entirely different histories.
c8 ... c9s

15 changed files with 68 additions and 19 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/postgresql-13.5.tar.bz2
/postgresql-*.tar.bz2*

View File

@ -1 +0,0 @@
9321e2b01d1ffb15adae06945cb2c5f9dd671bc9 SOURCES/postgresql-13.5.tar.bz2

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# libecpg
The libecpg package

View File

@ -1 +0,0 @@
9b81067a55edbaabc418aacef457dd8477642827499560b00615a6ea6c13f6b3 postgresql-13.5.tar.bz2

11
ci.fmf Normal file
View File

@ -0,0 +1,11 @@
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
filter: 'tag:libecpg'
execute:
how: tmt

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

12
generate-sources.sh Executable file
View File

@ -0,0 +1,12 @@
#! /bin/sh
rm sources
set -e
spectool -S *.spec | cut -d' ' -f2 \
| grep -E -e 'postgresql-.*\.tar\.*' -e 'postgresql.*\.pdf' | sort | \
while read line
do
base=`basename "$line"`
echo " * handling $base"
sha512sum --tag "$base" >> sources
done

View File

@ -3,7 +3,7 @@
Summary: ECPG - Embedded SQL in C
Name: libecpg
Version: %majorversion.5
Release: 3%{?dist}
Release: 1%{?dist}
License: PostgreSQL
Url: http://www.postgresql.org/
@ -28,6 +28,7 @@ BuildRequires: openldap-devel
BuildRequires: libpq-devel
BuildRequires: gettext
BuildRequires: multilib-rpm-config
BuildRequires: make
Requires: libpgtypes = %{version}-%{release}
@ -78,11 +79,11 @@ 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
%make_install -C "src/interfaces/ecpg"
%make_install -C "src/interfaces/ecpg" -j1
# remove files not to be packaged
find $RPM_BUILD_ROOT -name '*.a' -delete
@ -129,28 +130,43 @@ find_lang_bins %name-devel.lst ecpg
%changelog
* Thu Dec 09 2021 Filip Janus <fjanus@redhat.com> - 13.5-3
* Mon Nov 15 2021 Marek Kulik <mkulik@redhat.com> - 13.5-1
- Rebase to upstream release 13.5
* Fri Aug 20 2021 Filip Januš <fjanus@redhat.com> - 13.1-11
- Add -j1 also into build section
- Resolves: #1975438
* Thu Aug 05 2021 Filip Januš <fjanus@redhat.com> - 13.1-10
- Disable parallel build
- Resolves: #1975438
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 13.1-9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Wed Jul 28 2021 Filip Januš <fjanus@redhat.com> - 13.1-8
- Fix gating.yaml and rebuild
- switch to osci.brew-build.tier0.functional
* Mon Dec 6 2021 Marek Kulik <mkulik@redhat.com> - 13.5-2
- Rebuild for gating.
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 13.1-7
- Rebuilt for RHEL 9 BETA for openssl 3.0
Related: rhbz#1971065
* Wed Nov 24 2021 Marek Kulik <mkulik@redhat.com> - 13.5-1
- Update to 13.5 version
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 13.1-6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Fri Feb 19 2021 Patrik Novotný <panovotn@redhat.com> - 13.2-1
- Rebase to upstream release 13.2
* Mon Feb 08 2021 Pavel Raiskup <praiskup@redhat.com> - 13.1-5
- rebuild for libpq ABI fix rhbz#1908268
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 13.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Thu Dec 03 2020 Honza Horak <hhorak@redhat.com> - 13.1-3
- Add Requires: libpgtypes to avoid the need to test interoperability
between the various combinations of old and new subpackages
* Wed Dec 02 2020 Honza Horak <hhorak@redhat.com> - 13.1-2
- Rebuild for CI tests fix
* Mon Nov 23 2020 Honza Horak <hhorak@redhat.com> - 13.1-1
- Update to 13.1 version
* Wed Nov 18 2020 Honza Horak <hhorak@redhat.com> - 13.1-1
- Rebase to upstream release 13.0
* Fri Oct 23 2020 Honza Horak <hhorak@redhat.com> - 13.0-1
- Rebase to upstream release 13.0

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (postgresql-13.5.tar.bz2) = c76effbca8ee63be48fa3aeb39c7038221848fe83ca2afc4e0904ba8c6a50b89aa2ad37080d4e3be75e9bdc2d6ca6dfefcda334ef55a5e1a8954bb955ce905e5
SHA512 (postgresql-13.5.tar.bz2.sha256) = f79b6cbf7b7929de9312ece511fd7dad80b0b3fbfca98613db1d2825c4e77a9bf7cd4e790e2bc6fd827bc95eaf5105ff1df20af4bec2848779d01b1eb9100b81