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 - _) %define pkgname %(echo %name | cut -d- -f2- | tr - _)
Name: python-tinycss2 Name: python-tinycss2
Version: 1.2.1 Version: 1.2.1
Release: 1mamba Release: 2mamba
Summary: A tiny CSS parser Summary: A tiny CSS parser
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -14,7 +14,7 @@ License: BSD
BuildRequires: libpython3-devel BuildRequires: libpython3-devel
BuildRequires: python3.7dist(webencodings) BuildRequires: python3.7dist(webencodings)
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: python-pyproject2setuppy-py3 #BuildRequires: python-pyproject2setuppy-py3
%description %description
%{summary}. %{summary}.
@ -27,26 +27,25 @@ BuildRequires: python-pyproject2setuppy-py3
%setup -q -n tinycss2-%{version} %setup -q -n tinycss2-%{version}
%build %build
CFLAGS="%{optflags}" %{__python} -m pyproject2setuppy build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
#CFLAGS="%{optflags}" %{__python} -m pyproject2setuppy build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} -m pyproject2setuppy install \ %{__python} -m installer --destdir=%{buildroot} dist/*.whl
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist %files %{?pyappend}
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root) %defattr(-,root,root)
%dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
%{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %{python_sitelib}/%{pkgname}-%{version}.dist-info/*
%dir %{python_sitelib}/%{pkgname}
%{python_sitelib}/%{pkgname}/*
%doc LICENSE %doc LICENSE
%changelog %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 * Tue Oct 18 2022 Automatic Build System <autodist@mambasoft.it> 1.2.1-1mamba
- automatic version update by autodist - automatic version update by autodist