From f80e07ce5d89719e65c5e7d69c5171fa1ed079b1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 16:53:21 +0100 Subject: [PATCH] rebuilt with python dist deps; resolve conflicts for /usr/bin/wheel [release 0.36.2-2mamba;Thu Mar 18 2021] --- python-wheel.spec | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/python-wheel.spec b/python-wheel.spec index c72ae3b..767c343 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -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 0.36.2-2mamba +- rebuilt with python dist deps; resolve conflicts for /usr/bin/wheel + * Mon Dec 14 2020 Automatic Build System 0.36.2-1mamba - automatic version update by autodist