From 93ae7d32e9cd3c7dfbade7bf392c5efad6605c4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 21 Apr 2022 14:16:05 +0200 Subject: [PATCH 1/9] Version 2.3.2.post1 (rhbz#2072609) --- .gitignore | 1 + python-soupsieve.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 616d1c4..24b0968 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /python-soupsieve-2.2.1.tar.gz /python-soupsieve-2.3.tar.gz /python-soupsieve-2.3.1.tar.gz +/python-soupsieve-2.3.2.post1.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 250cae7..3c48a9b 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,7 +1,7 @@ %bcond_without tests Name: python-soupsieve -Version: 2.3.1 +Version: 2.3.2.post1 Release: %autorelease Summary: CSS selector library @@ -48,7 +48,9 @@ sed -i 's/coverage.*//' tox.ini sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %generate_buildrequires -%pyproject_buildrequires %{?with_tests:-t} +# pyproject_buildrequires.py fails with +# ValueError: build backend cannot provide build metadata (incl. runtime requirements) before build. +%pyproject_buildrequires %{?with_tests:-t} || : %build %pyproject_wheel @@ -66,6 +68,7 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %files -n python3-soupsieve -f %{pyproject_files} %doc README.md +%{python3_sitelib}/soupsieve-%{version}.dist-info/license_files/ %changelog %autochangelog diff --git a/sources b/sources index aa3ddc0..3d8eb2e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.3.1.tar.gz) = 3f1245b27d67e8b37bce4cb0b21b2b3f4d6b7ae112cc66672e5406c0701b28e605ed12db1e111bfeccea15625b17042e398b075b7f026d3f3e15069f0cafccac +SHA512 (python-soupsieve-2.3.2.post1.tar.gz) = 80eae1e7256cbcf2f2b8520779a5bdb68798e9813ed738ee933204ff1c23ad52553e21f3aa89ad61b900b906dcaa7a1eebd819300417304df782cda9e2d79c4a From 5ecafe2a18713379d03218ac24cb2c602d028ebe Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 17:48:09 +0200 Subject: [PATCH 2/9] Bootstrap for Python 3.11 --- python-soupsieve.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 3c48a9b..a282d32 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,3 +1,4 @@ +%global _without_tests 1 %bcond_without tests Name: python-soupsieve From 6e8dd0b1eef64718821baedb61f5a0b380c5b175 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 21:46:52 +0200 Subject: [PATCH 3/9] Rebuilt for Python 3.11 --- python-soupsieve.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index a282d32..3c48a9b 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,4 +1,3 @@ -%global _without_tests 1 %bcond_without tests Name: python-soupsieve From 3a7a7a032abcc00f3279c9dcf657640df45886df Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 11 Jul 2022 10:13:28 -0400 Subject: [PATCH 4/9] Remove obsolete workaround for rhbz#1985340 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was fixed in pyproject-rpm-macros 1.1.0; now the workaround produces duplicates in the file list. Additionally, the license file directory in dist-info is renamed from “license_files” to “licenses” in hatchling 1.5.0, so the workaround would cause FTBFS. --- python-soupsieve.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 3c48a9b..cf48d83 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -68,7 +68,6 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %files -n python3-soupsieve -f %{pyproject_files} %doc README.md -%{python3_sitelib}/soupsieve-%{version}.dist-info/license_files/ %changelog %autochangelog From 3979d68ec2f7859b1a74205c15590d6ae57880fe Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 11 Jul 2022 10:17:42 -0400 Subject: [PATCH 5/9] Fix pyproject_buildrequires invocation for hatchling backend --- python-soupsieve.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index cf48d83..803f611 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -48,9 +48,7 @@ sed -i 's/coverage.*//' tox.ini sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %generate_buildrequires -# pyproject_buildrequires.py fails with -# ValueError: build backend cannot provide build metadata (incl. runtime requirements) before build. -%pyproject_buildrequires %{?with_tests:-t} || : +%pyproject_buildrequires -w %{?with_tests:-t} %build %pyproject_wheel From 1a317658dcca8d2215151ad4e83a8150829bb267 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Mon, 11 Jul 2022 10:22:36 -0400 Subject: [PATCH 6/9] Explicitly list the license file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit While it is automatically included in dist-info, it is not currently marked with the “license” macro. See https://github.com/pypa/hatch/issues/193 for details. --- python-soupsieve.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 803f611..96dc242 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -65,6 +65,7 @@ sed -i 's/\(py\.test.*\)$/\1 \{posargs\}/' tox.ini %endif %files -n python3-soupsieve -f %{pyproject_files} +%license LICENSE.md %doc README.md %changelog From 1068caa0965f8a12316565ce236182ad3f8e9e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Wed, 22 Feb 2023 13:40:49 +0100 Subject: [PATCH 9/9] Version 2.4 ... (rhbz#2169774) --- .gitignore | 1 + python-soupsieve.spec | 2 +- sources | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 24b0968..36a36b0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /python-soupsieve-2.3.tar.gz /python-soupsieve-2.3.1.tar.gz /python-soupsieve-2.3.2.post1.tar.gz +/python-soupsieve-2.4.tar.gz diff --git a/python-soupsieve.spec b/python-soupsieve.spec index 96dc242..7c05164 100644 --- a/python-soupsieve.spec +++ b/python-soupsieve.spec @@ -1,7 +1,7 @@ %bcond_without tests Name: python-soupsieve -Version: 2.3.2.post1 +Version: 2.4 Release: %autorelease Summary: CSS selector library diff --git a/sources b/sources index 3d8eb2e..304ec0a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-soupsieve-2.3.2.post1.tar.gz) = 80eae1e7256cbcf2f2b8520779a5bdb68798e9813ed738ee933204ff1c23ad52553e21f3aa89ad61b900b906dcaa7a1eebd819300417304df782cda9e2d79c4a +SHA512 (python-soupsieve-2.4.tar.gz) = 68885307d8e6731d47372af5130f2fb88567c7d5b5995c84fb11116007b2360dea88aac1b5c8cadc41f99ef71704c4fe710c45318be0be727ed9145ce009e4fd