automatic version update by autodist [release 3.8.1-1mamba;Fri Oct 07 2022]
This commit is contained in:
parent
d9e0dec215
commit
9258a2e0cc
@ -1,6 +1,7 @@
|
|||||||
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
||||||
Name: python-zipp
|
Name: python-zipp
|
||||||
Version: 3.7.0
|
Version: 3.8.1
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: A pathlib-compatible Zipfile object wrapper
|
Summary: A pathlib-compatible Zipfile object wrapper
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -24,26 +25,24 @@ BuildRequires: libpython3-devel
|
|||||||
%setup -q -n zipp-%{version}
|
%setup -q -n zipp-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py 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}/zipp-*-py*.egg-info
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
||||||
%{python_sitearch}/zipp-*-py*.egg-info/*
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
||||||
|
%{python_sitelib}/%{pkgname}.py
|
||||||
|
%{python_sitelib}/__pycache__/zipp.cpython*.pyc
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Oct 07 2022 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Wed Jan 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.0-2mamba
|
* Wed Jan 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.7.0-2mamba
|
||||||
- rebuilt (with updated setuptools) to fix 0.0 version
|
- rebuilt (with updated setuptools) to fix 0.0 version
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user