rebuilt with python 3.10 [release 1.2.1-2mamba;Wed Mar 22 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 16:46:14 +01:00
parent ff81fb4e1b
commit e29d47b138

View File

@ -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 <silvan.calarco@mambasoft.it> 1.2.1-2mamba
- rebuilt with python 3.10
* Tue Oct 18 2022 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist