Compare commits

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

4 commits

Author SHA1 Message Date
Daniel Handzus
2f84d54ea8 Use CentOS Stream test repository instead of Fedora
Update the tests to point to the CentOS Stream test repository
rather than src.fedoraproject.org.

The tests for both environments are essentially identical. Unifying
the test source prevents duplicate maintenance work and ensures
consistency across the distributions.

Resolves: INFRASERV-1751
2026-08-03 16:48:47 +02:00
Fedora Release Engineering
a9114ed349 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 05:56:20 +00:00
Yaakov Selkowitz
9645f4c7d5 Rebuilt for openssl 4.0 2026-06-12 18:56:01 -04:00
Michal Schorm
2c167d3363 Drop multilib-rpm-config usage on RHEL
multilib was dropped completely as of RHEL 10, and the macros are
expected to be dropped from RHEL 11.

Related: RHEL-178013
Related: https://github.com/fedora-eln/eln/issues/525

Co-Authored-By: Claude AI <noreply@anthropic.com>
2026-05-21 13:40:08 +02:00
4 changed files with 38 additions and 10 deletions

9
ci.fmf
View file

@ -1,8 +1 @@
summary: Tier tests
discover:
how: fmf
repository: https://src.fedoraproject.org/tests/postgresql.git
ref: main
filter: 'tag:libecpg'
execute:
how: tmt
resultsdb-testcase: separate

17
gating.yaml Normal file
View file

@ -0,0 +1,17 @@
# Branched Fedora (non-Rawhide)
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_testing
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}
# Rawhide Fedora
--- !Policy
product_versions:
- fedora-*
decision_context: bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build./plans/tier1-public.functional}

View file

@ -3,7 +3,7 @@
Summary: ECPG - Embedded SQL in C
Name: libecpg
Version: %majorversion.4
Release: 4%{?dist}
Release: 7%{?dist}
License: PostgreSQL
Url: http://www.postgresql.org/
@ -27,7 +27,7 @@ BuildRequires: krb5-devel
BuildRequires: openldap-devel
BuildRequires: libpq-devel
BuildRequires: gettext
BuildRequires: multilib-rpm-config
%{!?rhel:BuildRequires: multilib-rpm-config}
BuildRequires: make
BuildRequires: libicu-devel
@ -91,7 +91,9 @@ export CFLAGS="$CFLAGS -std=c17"
# remove files not to be packaged
find $RPM_BUILD_ROOT -name '*.a' -delete
%if %{undefined rhel}
%multilib_fix_c_header --file "%{_includedir}/ecpg_config.h"
%endif
# function from postgresql.spec
find_lang_bins ()
@ -133,6 +135,17 @@ find_lang_bins %name-devel.lst ecpg
%changelog
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 16.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Fri Jun 12 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 16.4-6
- Rebuilt for openssl 4.0
* Thu May 21 2026 Michal Schorm <mschorm@redhat.com> - 16.4-5
- Drop multilib-rpm-config usage on RHEL
Related: RHEL-178013
Related: https://github.com/fedora-eln/eln/issues/525
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 16.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild

5
plans/tier1-public.fmf Normal file
View file

@ -0,0 +1,5 @@
/tier1-public:
plan:
import:
url: https://gitlab.com/redhat/centos-stream/tests/postgresql
name: /plans/versioned/postgresql18/libecpg