rebuilt with python dist deps; resolve conflicts for /usr/bin/wheel [release 0.36.2-2mamba;Thu Mar 18 2021]
This commit is contained in:
parent
faf5ef25b3
commit
f80e07ce5d
@ -1,6 +1,6 @@
|
||||
Name: python-wheel
|
||||
Version: 0.36.2
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: The reference implementation of the Python wheel packaging standard, as defined in PEP 427
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -10,11 +10,9 @@ URL: https://pypi.org/project/wheel/
|
||||
Source: https://pypi.debian.net/wheel/wheel-%{version}.tar.gz
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
## note: run 'autospec -u -a6 python-wheel' to get the list of build requirements.
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python-setuptools-py3
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libpython-devel
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
@ -38,18 +36,22 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
--install-lib=%{python_sitearch} \
|
||||
--record=%{name}.filelist
|
||||
|
||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||
|
||||
%if "%{?with_pyver}" != ""
|
||||
mv %{buildroot}%{_bindir}/wheel %{buildroot}%{_bindir}/wheel%{?with_pyver}
|
||||
sed -i "s|%{_bindir}/wheel$|%{_bindir}/wheel%{?with_pyver}|" %{name}.filelist
|
||||
%endif
|
||||
|
||||
%files %{?pyappend} -f %{name}.filelist
|
||||
%defattr(-,root,root)
|
||||
## note: this list is just an example; modify as required
|
||||
# %{python_sitearch}/%{name}.py*
|
||||
# %{python_sitearch}/%{name}.so
|
||||
|
||||
## note: add extra documentation (if any)
|
||||
# %doc README.rst
|
||||
%dir %{python_sitearch}/wheel-%{version}-py*.egg-info
|
||||
%{python_sitearch}/wheel-%{version}-py*.egg-info/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.36.2-2mamba
|
||||
- rebuilt with python dist deps; resolve conflicts for /usr/bin/wheel
|
||||
|
||||
* Mon Dec 14 2020 Automatic Build System <autodist@mambasoft.it> 0.36.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user