public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/reuse] epel10: Update to version 6.0.0 (rhbz#2393143)
Date: Wed, 19 Aug 2026 12:50:33 GMT [thread overview]
Message-ID: <178714383391.1.5134101620512991354.rpms-reuse-56f492e14b8b@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/reuse
Branch : epel10
Commit : 56f492e14b8b93b0c6705401d8f64ce1e3792455
Author : Jan Staněk <jstanek@redhat.com>
Date : 2025-10-07T15:01:27+02:00
Stats : +2/-84 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/reuse/c/56f492e14b8b93b0c6705401d8f64ce1e3792455?branch=epel10
Log:
Update to version 6.0.0 (rhbz#2393143)
---
diff --git a/0002-Skip-tests-with-old-freezegun.patch b/0002-Skip-tests-with-old-freezegun.patch
deleted file mode 100644
index a90676e..0000000
--- a/0002-Skip-tests-with-old-freezegun.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From a644c750b6ab49effae1e436f2750dac46701553 Mon Sep 17 00:00:00 2001
-From: rpm-build <rpm-build>
-Date: Thu, 27 Mar 2025 14:19:28 +0100
-Subject: [PATCH] Skip tests with old freezegun
-
-The freezegun < 1.5.1 hangs indefinitely in mock.
-
-Signed-off-by: rpm-build <rpm-build>
----
- tests/test_cli_spdx.py | 9 +++++++++
- 1 file changed, 9 insertions(+)
-
-diff --git a/tests/test_cli_spdx.py b/tests/test_cli_spdx.py
-index b9bb466..fc6a737 100644
---- a/tests/test_cli_spdx.py
-+++ b/tests/test_cli_spdx.py
-@@ -10,6 +10,9 @@
-
- """Tests for spdx."""
-
-+from importlib import metadata
-+
-+import pytest
- from click.testing import CliRunner
- from freezegun import freeze_time
-
-@@ -17,10 +20,16 @@ from reuse.cli.main import main
-
- # pylint: disable=unused-argument
-
-+FREEZEGUN_VERSION = tuple(map(int, metadata.version("freezegun").split(".")))
-+
-
- class TestSpdx:
- """Tests for spdx."""
-
-+ @pytest.mark.skipif(
-+ FREEZEGUN_VERSION < (1,5,1),
-+ reason="Blocks forever on old version(s) of freezegun.",
-+ )
- @freeze_time("2024-04-08T17:34:00Z")
- def test_simple(self, fake_repository):
- """Compile to an SPDX document."""
---
-2.49.0
-
diff --git a/0003-Prepare-test_cli_main.py-for-click-8.2.patch b/0003-Prepare-test_cli_main.py-for-click-8.2.patch
deleted file mode 100644
index c2d9d57..0000000
--- a/0003-Prepare-test_cli_main.py-for-click-8.2.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 2f7c59571370e7f2eb56920f1713410f1881e78f Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Jan=20Stan=C4=9Bk?= <jstanek@redhat.com>
-Date: Tue, 15 Jul 2025 12:21:21 +0200
-Subject: [PATCH] Prepare test_cli_main.py for click 8.2
-
-In click version 8.2.0, when displaying the help because no sub-command
-or option was specified, the exit code changed from 0 to 2 [1].
-
-[1]: https://github.com/pallets/click/pull/1489
-
-Signed-off-by: rpm-build <rpm-build>
----
- tests/test_cli_main.py | 4 +++-
- 1 file changed, 3 insertions(+), 1 deletion(-)
-
-diff --git a/tests/test_cli_main.py b/tests/test_cli_main.py
-index 641dd5e..9673848 100644
---- a/tests/test_cli_main.py
-+++ b/tests/test_cli_main.py
-@@ -19,7 +19,9 @@ class TestMain:
- without_help = CliRunner().invoke(main, [])
- with_help = CliRunner().invoke(main, ["--help"])
- assert without_help.output == with_help.output
-- assert without_help.exit_code == with_help.exit_code == 0
-+ # click changed the return value in 8.2
-+ assert without_help.exit_code in {0, 2}
-+ assert with_help.exit_code == 0
- assert with_help.output.startswith("Usage: reuse")
-
- def test_version(self):
---
-2.50.1
-
diff --git a/reuse.spec b/reuse.spec
index 2c32149..ddb3784 100644
--- a/reuse.spec
+++ b/reuse.spec
@@ -1,5 +1,5 @@
Name: reuse
-Version: 5.1.1
+Version: 6.0.0
Release: %autorelease
Summary: A tool for compliance with the REUSE recommendations
# The CC0-1.0 licence applies to json data files, not code.
@@ -8,9 +8,6 @@ License: Apache-2.0 AND CC0-1.0 AND CC-BY-SA-4.0 AND GPL-3.0-or-later
Url: https://github.com/fsfe/reuse-tool
Source0: %pypi_source
-Patch: 0002-Skip-tests-with-old-freezegun.patch
-Patch: 0003-Prepare-test_cli_main.py-for-click-8.2.patch
-
# Build
BuildRequires: python3-devel
BuildRequires: gettext
diff --git a/sources b/sources
index bea1de1..6c4a184 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (reuse-5.1.1.tar.gz) = 3c4896cc524bc8301319ade07c83bbdf9455faadf1158ad0fcaec17f59e20f0e3e7912bc26d630b4851231461f12ca634c1f7f54f58d3470699fb7a925ca981f
+SHA512 (reuse-6.0.0.tar.gz) = 22ac37521bab190ebd8132fc06bb4d9965996a5804e1c36b754e664e88df5b0cbd2010ac88bc50598f5132bd302054575542dca0424a166cb93f33b86373c4bc
reply other threads:[~2026-08-19 12:50 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=178714383391.1.5134101620512991354.rpms-reuse-56f492e14b8b@fedoraproject.org \
--to=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