diff --git a/python-genshi.spec b/python-genshi.spec index 5cf0aeb..9bcf2f0 100644 --- a/python-genshi.spec +++ b/python-genshi.spec @@ -1,7 +1,7 @@ Name: python-genshi Epoch: 1 Version: 0.7.5 -Release: 1mamba +Release: 2mamba Summary: Python toolkit for generation of output for the web Group: System/Libraries/Python Vendor: openmamba @@ -11,17 +11,17 @@ URL: https://genshi.edgewall.org/ Source: https://pypi.debian.net/Genshi/Genshi-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN -BuildRequires: libpython-devel +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(six) ## AUTOBUILDREQ-END -Requires: python >= %python_version -Requires: python-babel -Provides: python-Genshi -Obsoletes: python-Genshi -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Genshi is a Python library that provides an integrated set of components for parsing, generating, and processing HTML, XML or other textual content for output generation on the web. The major feature is a template language, which is heavily inspired by Kid. +%if 0%{?with_pyver} +%pyver_package +%endif + %prep %setup -q -n Genshi-%{version} find examples -type f -exec chmod a-x '{}' ';' @@ -39,20 +39,21 @@ CFLAGS="%{optflags}" %{__python} setup.py build --single-version-externally-managed \ --record=%{name}.filelist -sed -i "s,.*/man/.*,&.gz," %{name}.filelist - -#%check -#{__python} setup.py test +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.filelist +%files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/Genshi-%{version}-py*.egg-info +%{python_sitearch}/Genshi-%{version}-py*.egg-info/* %doc COPYING -#%doc ChangeLog doc examples README.txt %changelog +* Sat Apr 17 2021 Silvan Calarco 0.7.5-2mamba +- rebuilt with distdeps + * Sun Feb 21 2021 Automatic Build System 0.7.5-1mamba - automatic version update by autodist