From e29d47b138cfa8cf8fbb9e80d00aaa95332f0fc8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:46:14 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 1.2.1-2mamba;Wed Mar 22 2023] --- python-tinycss2.spec | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 7bd7d3e..d8ad62a 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-tinycss2 Version: 1.2.1 -Release: 1mamba +Release: 2mamba Summary: A tiny CSS parser Group: System/Libraries Vendor: openmamba @@ -14,7 +14,7 @@ License: BSD BuildRequires: libpython3-devel BuildRequires: python3.7dist(webencodings) ## AUTOBUILDREQ-END -BuildRequires: python-pyproject2setuppy-py3 +#BuildRequires: python-pyproject2setuppy-py3 %description %{summary}. @@ -27,26 +27,25 @@ BuildRequires: python-pyproject2setuppy-py3 %setup -q -n tinycss2-%{version} %build -CFLAGS="%{optflags}" %{__python} -m pyproject2setuppy build +CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel +#CFLAGS="%{optflags}" %{__python} -m pyproject2setuppy build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%{__python} -m pyproject2setuppy install \ - -O1 --skip-build \ - --root="%{buildroot}" \ - --install-headers=%{python_inc} \ - --install-lib=%{python_sitearch} \ - --record=%{name}.filelist +%{__python} -m installer --destdir=%{buildroot} dist/*.whl -sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist - -%files %{?pyappend} -f %{name}.filelist +%files %{?pyappend} %defattr(-,root,root) -%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info -%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* +%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info +%{python_sitelib}/%{pkgname}-%{version}.dist-info/* +%dir %{python_sitelib}/%{pkgname} +%{python_sitelib}/%{pkgname}/* %doc LICENSE %changelog +* Wed Mar 22 2023 Silvan Calarco 1.2.1-2mamba +- rebuilt with python 3.10 + * Tue Oct 18 2022 Automatic Build System 1.2.1-1mamba - automatic version update by autodist