File 0002-Drop-an-accidentally-added-duplicated-test.patch of Package rpm
From 31758e51cd60a7eb33b7280e0f9efee767455d4d Mon Sep 17 00:00:00 2001
From: Panu Matilainen <pmatilai@redhat.com>
Date: Thu, 23 May 2024 07:48:53 +0300
Subject: [PATCH 2/3] Drop an accidentally added duplicated test
Commit a68a2e50578347384bb2f1b08314d8bf7026b9bc added the same test
twice, hardly intentionally.
---
tests/rpmbuild.at | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/tests/rpmbuild.at b/tests/rpmbuild.at
index a060abe1f..7e4b088aa 100644
--- a/tests/rpmbuild.at
+++ b/tests/rpmbuild.at
@@ -2311,22 +2311,6 @@ runroot rpmbuild \
)
RPMTEST_CLEANUP
-# Test that -br creates an src.rpm on success
-AT_SETUP([rpmbuild -br success])
-AT_KEYWORDS([build])
-RPMTEST_CHECK([
-RPMDB_INIT
-
-runroot rpmbuild \
- -br /data/SPECS/mini.spec
-],
-[0],
-[Wrote: /build/SRPMS/mini-1-1.src.rpm
-],
-[],
-)
-RPMTEST_CLEANUP
-
# ------------------------------
# Check dynamic build requires
AT_SETUP([rpmbuild -bd with errors])
--
2.45.1