public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedrq] epel10: Add patch to fix rpm 4.20 test failures
@ 2026-07-14  1:11 Maxwell G
  0 siblings, 0 replies; only message in thread
From: Maxwell G @ 2026-07-14  1:11 UTC (permalink / raw)
  To: git-commits

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
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-14  1:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-14  1:11 [rpms/fedrq] epel10: Add patch to fix rpm 4.20 test failures Maxwell G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox