diff --git a/python-html5lib.spec b/python-html5lib.spec index 403403b..628f5e9 100644 --- a/python-html5lib.spec +++ b/python-html5lib.spec @@ -1,19 +1,20 @@ +%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-html5lib Version: 1.1 -Release: 1mamba +Release: 2mamba Summary: HTML parser based on the HTML5 specifcation Group: System/Libraries/Python Vendor: openmamba Distribution: openmamba -Packager: Stefano Cotta Ramusino +Packager: Silvan Calarco URL: https://github.com/html5lib/html5lib-python Source: https://github.com/html5lib/html5lib-python.git/%{version}/html5lib-python-%{version}.tar.bz2 License: MIT ## AUTOBUILDREQ-BEGIN +BuildRequires: libpython3-devel +BuildRequires: python3.7dist(six) +BuildRequires: python3.7dist(webencodings) ## AUTOBUILDREQ-END -BuildRequires: libpython3-devel >= 3.7.4 -Requires: python >= %python_version -BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch %description @@ -38,15 +39,20 @@ HTML parser based on the HTML5 specifcation. --install-lib=%{python_sitearch} \ --record=%{name}.filelist -#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info +%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %changelog +* Thu May 05 2022 Silvan Calarco 1.1-2mamba +- rebuilt with distdeps and python 3.10 subpackage + * Fri Jul 03 2020 Automatic Build System 1.1-1mamba - automatic version update by autodist