public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Jerry James <loganjerry@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/JUnitParams] epel10: Minor spec file simplifications
Date: Thu, 16 Jul 2026 21:36:08 GMT [thread overview]
Message-ID: <178423776875.1.11719889815096933985.rpms-JUnitParams-38480a1d75fd@fedoraproject.org> (raw)
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)
reply other threads:[~2026-07-16 21:36 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=178423776875.1.11719889815096933985.rpms-JUnitParams-38480a1d75fd@fedoraproject.org \
--to=loganjerry@gmail.com \
--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