From 4929a28105019c4220b538127491114811eeaafb Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 19 Nov 2025 16:43:50 +0100 Subject: [PATCH 1/3] update to 1.5.0 --- python-tinycss2.spec | 12 +++++++++--- sources | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index ccb6738..adb51e2 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,13 +6,15 @@ Name: python-%{srcname} -Version: 1.4.0 -Release: 6%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause URL: https://www.courtbouillon.org/tinycss2/ Source0: %{pypi_source tinycss2} +# generated using ./export-git-snapshot.sh +Source1: css-parsing-tests-88fc3fc.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -40,7 +42,8 @@ specification. %prep -%autosetup -n %{srcname}-%{version} +%autosetup -n %{srcname}-%{version} -a 1 +mv css-parsing-tests-*/* tests/css-parsing-tests/ %generate_buildrequires @@ -71,6 +74,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Wed Nov 19 2025 Felix Schwarz - 1.5.0-1 +- update to 1.5.0 + * Fri Sep 19 2025 Python Maint - 1.4.0-6 - Rebuilt for Python 3.14.0rc3 bytecode diff --git a/sources b/sources index 37d5977..5352f9f 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (tinycss2-1.4.0.tar.gz) = be0faac6fc55113c4a110d6cd23714867f3f4c33829cadcc8619b1c7b801bc009501cd0f0f7b3d21040129526633ef1f956ef6cb2ca8955d32f2b0b11f875d92 +SHA512 (css-parsing-tests-88fc3fc.tar.gz) = 5278bc71cf0972a04ece4fe722dbdf0712af74c9fbccbf8a79143607ff57691b1075afe9e0c51eb4e7238cd846e92788b8715b5551973384948ba9d376b0fd3a +SHA512 (tinycss2-1.5.0.tar.gz) = 1478270757a9f09abcb1ffa1d41ab382061a427f629dc92b20473f78f57f59d8ca7dc9ae41154ae0b62cc6fbc923b118446293f87cc1e31d0747502e4b7413f9 From 52e9a15fdc78b414aeb953939a64d2a06113343f Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sun, 23 Nov 2025 16:46:19 +0100 Subject: [PATCH 2/3] replace `%{py3_prefix}` with just `python3` --- python-tinycss2.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index adb51e2..0dee2fe 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -1,10 +1,6 @@ %global srcname tinycss2 - -%global py3_prefix python%{python3_pkgversion} - - Name: python-%{srcname} Version: 1.5.0 Release: 1%{?dist} @@ -30,12 +26,12 @@ tinycss with a simpler API, based on the more recent CSS Syntax Level 3 specification. -%package -n %{py3_prefix}-%{srcname} +%package -n python3-%{srcname} Summary: Low-level CSS parser for Python 3 -Requires: %{py3_prefix}-webencodings >= 0.4 -%{?python_provide:%python_provide %{py3_prefix}-%{srcname}} +Requires: python3-webencodings >= 0.4 +%{?python_provide:%python_provide python3-%{srcname}} -%description -n %{py3_prefix}-%{srcname} +%description -n python3-%{srcname} tinycss2 is a modern, low-level CSS parser for Python. tinycss2 is a rewrite of tinycss with a simpler API, based on the more recent CSS Syntax Level 3 specification. @@ -66,7 +62,7 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/test.py rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? -%files -n %{py3_prefix}-%{srcname} +%files -n python3-%{srcname} %license LICENSE %doc README.rst %{python3_sitelib}/%{srcname}/ From 0970c37c9d9bbab10f43c9f0ce6f0770cf404c60 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sun, 23 Nov 2025 16:47:05 +0100 Subject: [PATCH 3/3] update to 1.5.1 --- python-tinycss2.spec | 11 +++++------ sources | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 0dee2fe..86e7708 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -2,15 +2,13 @@ %global srcname tinycss2 Name: python-%{srcname} -Version: 1.5.0 +Version: 1.5.1 Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause URL: https://www.courtbouillon.org/tinycss2/ Source0: %{pypi_source tinycss2} -# generated using ./export-git-snapshot.sh -Source1: css-parsing-tests-88fc3fc.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -28,7 +26,6 @@ specification. %package -n python3-%{srcname} Summary: Low-level CSS parser for Python 3 -Requires: python3-webencodings >= 0.4 %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} @@ -38,8 +35,7 @@ specification. %prep -%autosetup -n %{srcname}-%{version} -a 1 -mv css-parsing-tests-*/* tests/css-parsing-tests/ +%autosetup -n %{srcname}-%{version} %generate_buildrequires @@ -70,6 +66,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Sun Nov 23 2025 Felix Schwarz - 1.5.1-1 +- update to 1.5.1 + * Wed Nov 19 2025 Felix Schwarz - 1.5.0-1 - update to 1.5.0 diff --git a/sources b/sources index 5352f9f..236d2ad 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (css-parsing-tests-88fc3fc.tar.gz) = 5278bc71cf0972a04ece4fe722dbdf0712af74c9fbccbf8a79143607ff57691b1075afe9e0c51eb4e7238cd846e92788b8715b5551973384948ba9d376b0fd3a -SHA512 (tinycss2-1.5.0.tar.gz) = 1478270757a9f09abcb1ffa1d41ab382061a427f629dc92b20473f78f57f59d8ca7dc9ae41154ae0b62cc6fbc923b118446293f87cc1e31d0747502e4b7413f9 +SHA512 (tinycss2-1.5.1.tar.gz) = 1c2e1818c27c90f78b1e0af9b4c3c2a0944999691dcea678d0f5ed8a141d6ebd272b8b6763c1eac9d824db0d539e1e238f1e5e6abd2c02d97bb86002da637a10