rename conflicting binaries [release 0.18.3-2mamba;Mon Jan 16 2023]
This commit is contained in:
parent
1144037a28
commit
df14e37834
@ -1,6 +1,6 @@
|
|||||||
Name: python-future
|
Name: python-future
|
||||||
Version: 0.18.3
|
Version: 0.18.3
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: Clean single-source support for Python 3 and 2
|
Summary: Clean single-source support for Python 3 and 2
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -37,13 +37,26 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
sed -i "\,%{_bindir},d" %{name}.filelist
|
||||||
|
|
||||||
|
%if "%{?with_pyver}" != "3"
|
||||||
|
# Rename any conflicting file outside of python site packages tree
|
||||||
|
for f in %{_bindir}/{futurize,pasteurize}; do
|
||||||
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
||||||
|
done
|
||||||
|
%endif
|
||||||
|
|
||||||
%files %{?pyappend} -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_bindir}/futurize*
|
||||||
|
%{_bindir}/pasteurize*
|
||||||
%dir %{python_sitearch}/future-%{version}-py*.egg-info
|
%dir %{python_sitearch}/future-%{version}-py*.egg-info
|
||||||
%{python_sitearch}/future-%{version}-py*.egg-info/*
|
%{python_sitearch}/future-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jan 16 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.18.3-2mamba
|
||||||
|
- rename conflicting binaries
|
||||||
|
|
||||||
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 0.18.3-1mamba
|
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 0.18.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user