28 lines
830 B
Diff
28 lines
830 B
Diff
From 2c20f9677eff989817148d236543191dec0d8059 Mon Sep 17 00:00:00 2001
|
|
From: Panu Matilainen <pmatilai@redhat.com>
|
|
Date: Tue, 14 Nov 2023 09:07:28 +0200
|
|
Subject: [PATCH] Allow version to be omitted in the replace test spec
|
|
|
|
Conflict:adapt context
|
|
Reference:https://github.com/rpm-software-management/rpm/commit/2c20f9677eff989817148d236543191dec0d8059
|
|
|
|
---
|
|
tests/data/SPECS/replacetest.spec | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/tests/data/SPECS/replacetest.spec b/tests/data/SPECS/replacetest.spec
|
|
index 0f86ea628..4fb72b408 100644
|
|
--- a/tests/data/SPECS/replacetest.spec
|
|
+++ b/tests/data/SPECS/replacetest.spec
|
|
@@ -2,6 +2,7 @@
|
|
%{?fixit: %global havepretrans 1}
|
|
%{!?user: %global user root}
|
|
%{!?grp: %global grp root}
|
|
+%{!?ver: %global ver 1.0}
|
|
|
|
Name: replacetest%{?sub:-%{sub}}
|
|
Version: %{ver}
|
|
--
|
|
2.33.0
|
|
|