diff --git a/python-dill.spec b/python-dill.spec index 0cdc5c7..f642ef2 100644 --- a/python-dill.spec +++ b/python-dill.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-dill Version: 0.3.6 -Release: 1mamba +Release: 2mamba Summary: Serialize all of python Group: System/Libraries Vendor: openmamba @@ -38,13 +38,26 @@ CFLAGS="%{optflags}" %{__python} setup.py build sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist +%if "%{?with_pyver}" != "3" +# Rename any conflicting file outside of python site packages tree +for f in %{_bindir}/{get_objgraph,undill}; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +sed -i "\,%{_bindir},d" %{name}.filelist +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/get_objgraph* +%{_bindir}/undill* %dir %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info %{python_sitearch}/%{pkgname}-%{version}-py*.egg-info/* %doc LICENSE %changelog +* Fri Apr 07 2023 Sdk Build System 0.3.6-2mamba +- rebuilt with python 3.10 + * Mon Oct 24 2022 Automatic Build System 0.3.6-1mamba - automatic version update by autodist