public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Maxwell G <maxwell@gtmx.me>
To: git-commits@fedoraproject.org
Subject: [rpms/fedrq] epel10: Add patch to fix rpm 4.20 test failures
Date: Tue, 14 Jul 2026 01:11:33 GMT	[thread overview]
Message-ID: <178399149347.1.16469335642205852165.rpms-fedrq-6c127488cdd8@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/fedrq
Branch : epel10
Commit : 6c127488cdd86c635833e6839fb088ba877fb2c8
Author : Maxwell G <maxwell@gtmx.me>
Date   : 2024-05-30T12:23:04-05:00
Stats  : +45/-1 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/fedrq/c/6c127488cdd86c635833e6839fb088ba877fb2c8?branch=epel10

Log:
Add patch to fix rpm 4.20 test failures

---
diff --git a/fedrq.spec b/fedrq.spec
index 2242c31..01beb4e 100644
--- a/fedrq.spec
+++ b/fedrq.spec
@@ -8,7 +8,7 @@
 
 Name:           fedrq
 Version:        1.1.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        A tool to query the Fedora and EPEL repositories
 
 # - code is GPL-2.0-or-later
@@ -22,6 +22,8 @@ Source0:        %{furl}/refs/download/v%{version}/fedrq-%{version}.tar.gz
 Source1:        %{furl}/refs/download/v%{version}/fedrq-%{version}.tar.gz.asc
 Source2:        https://meta.sr.ht/~gotmax23.pgp
 
+Patch:          %{furl}/commit/ff99d7bd1925310c408a55f6ed78fc36d78c4cad.patch#/rpm-4.20-test-fix.patch
+
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
@@ -109,6 +111,9 @@ FEDRQ_BACKEND=libdnf5 %pytest -v -m "not no_rpm_mock" %{?skips:-k '%{skips}'}
 
 
 %changelog
+* Thu May 30 2024 Maxwell G <maxwell@gtmx.me> - 1.1.0-2
+- Add patch to fix rpm 4.20 test failures
+
 * Wed May 01 2024 Maxwell G <maxwell@gtmx.me> - 1.1.0-1
 - Update to 1.1.0.
 

diff --git a/rpm-4.20-test-fix.patch b/rpm-4.20-test-fix.patch
new file mode 100644
index 0000000..c9fa506
--- /dev/null
+++ b/rpm-4.20-test-fix.patch
@@ -0,0 +1,39 @@
+From ff99d7bd1925310c408a55f6ed78fc36d78c4cad Mon Sep 17 00:00:00 2001
+From: Maxwell G <maxwell@gtmx.me>
+Date: Thu, 30 May 2024 11:59:23 -0500
+Subject: [PATCH] tests: disable debug_package as necessary
+
+---
+ tests/test_data/repos/repo1/specs/e1/packageb.spec | 2 ++
+ tests/test_data/repos/repo1/specs/packageb.spec    | 2 ++
+ 2 files changed, 4 insertions(+)
+
+diff --git a/tests/test_data/repos/repo1/specs/e1/packageb.spec b/tests/test_data/repos/repo1/specs/e1/packageb.spec
+index 084e116..040540f 100644
+--- a/tests/test_data/repos/repo1/specs/e1/packageb.spec
++++ b/tests/test_data/repos/repo1/specs/e1/packageb.spec
+@@ -1,6 +1,8 @@
+ # SPDX-FileCopyrightText: 2022 Maxwell G <gotmax@e.email>
+ # SPDX-License-Identifier: GPL-2.0-or-later
+ 
++%global debug_package %{nil}
++
+ Name:           packageb
+ Epoch:          11111
+ Version:        2
+diff --git a/tests/test_data/repos/repo1/specs/packageb.spec b/tests/test_data/repos/repo1/specs/packageb.spec
+index f6fb98e..b3a8cb0 100644
+--- a/tests/test_data/repos/repo1/specs/packageb.spec
++++ b/tests/test_data/repos/repo1/specs/packageb.spec
+@@ -1,6 +1,8 @@
+ # SPDX-FileCopyrightText: 2022 Maxwell G <gotmax@e.email>
+ # SPDX-License-Identifier: GPL-2.0-or-later
+ 
++%global debug_package %{nil}
++
+ Name:           packageb
+ Version:        1
+ Release:        1%{?dist}
+-- 
+2.43.4
+

                 reply	other threads:[~2026-07-14  1:11 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=178399149347.1.16469335642205852165.rpms-fedrq-6c127488cdd8@fedoraproject.org \
    --to=maxwell@gtmx.me \
    --cc=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