public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] epel9: Patch: Disable modularity on RHEL >= 11
Date: Fri, 31 Jul 2026 02:17:56 GMT [thread overview]
Message-ID: <178546427699.1.438496270420276831.rpms-rpkg-13eb4aac8e35@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpkg
Branch : epel9
Commit : 13eb4aac8e354c67b5808823e102a49c2c4687ca
Author : Petr Písař <ppisar@redhat.com>
Date : 2026-07-31T02:15:20+00:00
Stats : +11/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/rpkg/c/13eb4aac8e354c67b5808823e102a49c2c4687ca?branch=epel9
Log:
Patch: Disable modularity on RHEL >= 11
RHEL 11 won't have libmodulemd and its Python bindings and other
modular tools.
This patch removes a dependency on libmodulemd and
python3-gobject-base that are used for processing modulemd files.
This patch also removes a dependency on python3-requests-gssapi which
is used for sending a modulemd file to a validating service.
Last RHEL with modular content was RHEL 9.
The left use of libmodulemd for flatpaks in rpkg is dubious as
Flatpaks stopped using modularity at Fedora 39.
Signed-off-by: Ondřej Nosek <onosek@redhat.com>
---
diff --git a/rpkg.spec b/rpkg.spec
index e4c0ffd..a610e61 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -1,6 +1,6 @@
Name: rpkg
Version: 1.69
-Release: 8%{?dist}
+Release: 9%{?dist}
Summary: Python library for interacting with rpm+git
# Automatically converted from old format: GPLv2+ and LGPLv2 - reviewed
@@ -125,6 +125,7 @@ Obsoletes: python2-rpkg < %{version}-%{release}
BuildRequires: python3-devel
BuildRequires: python3-GitPython
BuildRequires: python3-koji
+%if 0%{?rhel} < 11
%if 0%{?rhel}
BuildRequires: python3-gobject-base
BuildRequires: libmodulemd
@@ -132,6 +133,7 @@ BuildRequires: python3-requests-gssapi
%else
BuildRequires: python3-libmodulemd
%endif
+%endif
BuildRequires: python3-argcomplete
BuildRequires: python3-cccolutils
BuildRequires: python3-openidc-client
@@ -160,12 +162,16 @@ Requires: python3-argcomplete
Requires: python3-GitPython
Requires: python3-cccolutils
Requires: python3-koji
+%if 0%{?rhel} < 11
%if 0%{?rhel}
Requires: python3-gobject-base
Requires: libmodulemd
Requires: python3-requests-gssapi
%else
Requires: python3-libmodulemd
+%endif
+%endif
+%if !0%{?rhel}
Requires: python3-rpmautospec
%endif
Requires: python3-rpm
@@ -283,6 +289,9 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
%changelog
+* Fri Jul 31 2026 Petr Pisar <ppisar@redhat.com> - 1.69-9
+- Disable modularity on RHEL >= 11
+
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.69-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
@@ -320,7 +329,7 @@ example_cli_dir=$RPM_BUILD_ROOT%{_datadir}/%{name}/examples/cli
- `patch`: Execute subprocess in text mode (ferdnyc)
- Fix mockbuild --srpm-mock specfile_path (wngtk)
- `pre-push-check`: bogus error - file wasn't listed - #747 (onosek)
-- Switch to %pyproject_* macros (onosek)
+- Switch to %%pyproject_* macros (onosek)
- Use the spec name to assemble src.rpm name (sergio)
- Jenkinsfile: use local declaration instead the global (onosek)
- `srpm`: --offline arg to prevent connecting to Koji - 600 (onosek)
reply other threads:[~2026-07-31 2:17 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178546427699.1.438496270420276831.rpms-rpkg-13eb4aac8e35@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox