diff --git a/.gitignore b/.gitignore index 33446be..632a427 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ -/*upstream*.git -/*.src.rpm -/results_* -/Genshi-0.7.* +SOURCES/Genshi-0.7.9.tar.gz diff --git a/.python-genshi.metadata b/.python-genshi.metadata new file mode 100644 index 0000000..cc226f0 --- /dev/null +++ b/.python-genshi.metadata @@ -0,0 +1 @@ +583c30ccdbea440449ff0be803ff4877e5e68ed0 SOURCES/Genshi-0.7.9.tar.gz diff --git a/python-genshi.spec b/SPECS/python-genshi.spec similarity index 78% rename from python-genshi.spec rename to SPECS/python-genshi.spec index 65f437d..6e0c0ae 100644 --- a/python-genshi.spec +++ b/SPECS/python-genshi.spec @@ -1,18 +1,16 @@ -%global srcname Genshi - Name: python-genshi -Version: 0.7.7 +Version: 0.7.9 Release: 1%{?dist} Summary: Toolkit for stream-based generation of output for the web -License: BSD +License: BSD-3-Clause URL: https://genshi.edgewall.org/ -Source0: %pypi_source +Source0: %{pypi_source Genshi} -#BuildArch: noarch BuildRequires: gcc BuildRequires: python3-devel +BuildRequires: python3dist(pytest) %description Genshi is a Python library that provides an integrated set of @@ -32,7 +30,7 @@ a template language, which is heavily inspired by Kid. %prep -%autosetup -p1 -n %{srcname}-%{version} +%autosetup -p1 -n Genshi-%{version} # Remove bundled egg-info in case it exists rm -rf %{modname}.egg-info @@ -56,7 +54,7 @@ sed -i -e '/_speedups.c/d' %{pyproject_files} %check -%{python3} setup.py test +%pytest %files -n python3-genshi -f %{pyproject_files} @@ -64,10 +62,13 @@ sed -i -e '/_speedups.c/d' %{pyproject_files} %exclude %{python3_sitearch}/genshi/{_speedups.c,tests} %exclude %{python3_sitearch}/genshi/{filters,template}/tests # COPYING file already listed in {pyproject_files} -%doc ChangeLog doc examples README.txt +%doc ChangeLog doc examples README.md %changelog -* Tue May 31 2022 Felix Schwarz - 0.7.7-1 -- initial package for EPEL9 +* Sat Jan 04 2025 Arkady L. Shane - 0.7.9-1 +- Rebuilt for MSVSphere 10 + +* Sat Oct 12 2024 Felix Schwarz - 0.7.9-1 +- initial package for EPEL 10 diff --git a/sources b/sources deleted file mode 100644 index 96e3c83..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (Genshi-0.7.7.tar.gz) = b0a3dee68523292f0672a180c5f2cfbdf48205d82286359b9fac9f668cbc2806c649d1e158d6fb8ead5b1cc5cd44eefe9d1cd79077f96925b8d24dd8e746b40f