public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/JUnitParams] epel10: Minor spec file simplifications
@ 2026-07-16 21:36 Jerry James
  0 siblings, 0 replies; only message in thread
From: Jerry James @ 2026-07-16 21:36 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/JUnitParams
Branch : epel10
Commit : 38480a1d75fdb095e33501a1df3e818eb193f5bb
Author : Jerry James <loganjerry@gmail.com>
Date   : 2024-07-16T16:28:41-06:00
Stats  : +12/-9 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/JUnitParams/c/38480a1d75fdb095e33501a1df3e818eb193f5bb?branch=epel10

Log:
Minor spec file simplifications

---
diff --git a/JUnitParams.spec b/JUnitParams.spec
index 66a6a55..3ea568e 100644
--- a/JUnitParams.spec
+++ b/JUnitParams.spec
@@ -1,3 +1,5 @@
+%global giturl  https://github.com/Pragmatists/JUnitParams
+
 Name:           JUnitParams
 Version:        1.1.1
 Release:        %autorelease
@@ -5,28 +7,29 @@ Summary:        Parameterized Java tests
 
 License:        Apache-2.0
 URL:            https://pragmatists.github.io/JUnitParams/
-Source0:        https://github.com/Pragmatists/JUnitParams/archive/%{name}-%{version}.tar.gz
+VCS:            git:%{giturl}.git
+Source:         %{giturl}/archive/%{name}-%{version}.tar.gz
 ## Post-release bug fixes
 # Release notes and Readme updated
-Patch0:         https://github.com/Pragmatists/JUnitParams/commit/c060976.patch
+Patch:          %{giturl}/commit/c060976.patch
 # Add language identifiers to README.md for syntax highlighting
-Patch1:         https://github.com/Pragmatists/JUnitParams/commit/280ee05.patch
+Patch:          %{giturl}/commit/280ee05.patch
 # Show original exception thrown from test class constructor
-Patch2:         https://github.com/Pragmatists/JUnitParams/commit/6bab69a.patch
+Patch:          %{giturl}/commit/6bab69a.patch
 # Better exception for missing parameters
-Patch3:         https://github.com/Pragmatists/JUnitParams/commit/f0772e7.patch
+Patch:          %{giturl}/commit/f0772e7.patch
 # Better exception message for missing parameters
-Patch4:         https://github.com/Pragmatists/JUnitParams/commit/90d47a5.patch
+Patch:          %{giturl}/commit/90d47a5.patch
 
 ## Patches to fix testing with junit 4.13.  See:
 ## - https://github.com/Pragmatists/JUnitParams/issues/172
 ## - https://github.com/Pragmatists/JUnitParams/pull/182
 # Fix parsing of strings into BigDecimal values
-Patch5:         %{name}-parse-bigdecimal.patch
+Patch:          %{name}-parse-bigdecimal.patch
 # Fix single method test filters
-Patch6:         %{name}-single-method-filter.patch
+Patch:          %{name}-single-method-filter.patch
 # Use hasMessageContaining instead of hasMessage
-Patch7:         %{name}-has-message-containing.patch
+Patch :         %{name}-has-message-containing.patch
 
 BuildRequires:  maven-local
 BuildRequires:  mvn(junit:junit)

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

only message in thread, other threads:[~2026-07-16 21:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-16 21:36 [rpms/JUnitParams] epel10: Minor spec file simplifications Jerry James

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