automatic version update by autodist [release 2.0.1-1mamba;Fri Oct 07 2022]
This commit is contained in:
parent
689c51b449
commit
222be4b79d
@ -1,7 +1,7 @@
|
||||
%define pkgname %(echo %name | cut -d- -f2-)
|
||||
Name: python-tomli
|
||||
Version: 1.2.0
|
||||
Release: 2mamba
|
||||
Version: 2.0.1
|
||||
Release: 1mamba
|
||||
Summary: A lil' TOML parser
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -25,25 +25,24 @@ BuildRequires: libpython3-devel
|
||||
%setup -q -n tomli-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%{__python} setup.py 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)
|
||||
%{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
|
||||
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 2.0.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Apr 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0-2mamba
|
||||
- rebuilt with python 3.10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user