From db47e8ca73344dc5ff28a8b622dfa67cf0548698 Mon Sep 17 00:00:00 2001 From: Sdk Build System Date: Fri, 5 Jan 2024 16:40:52 +0100 Subject: [PATCH] rebuilt with python 3.10 [release 8.0.1-2mamba;Fri Apr 07 2023] --- python-slugify.spec | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python-slugify.spec b/python-slugify.spec index 49ee09b..7bf85c6 100644 --- a/python-slugify.spec +++ b/python-slugify.spec @@ -1,7 +1,7 @@ %define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-slugify Version: 8.0.1 -Release: 1mamba +Release: 2mamba Summary: A generic slugifier utility, inspired by Django’s slugify template filter Group: System/Libraries Vendor: openmamba @@ -40,12 +40,24 @@ 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}/slugify; do + mv %{buildroot}${f}{,-%{?pyappend}} +done +sed -i "\,%{_bindir},d" %{name}.filelist +%endif + %files %{?pyappend} -f %{name}.filelist %defattr(-,root,root) +%{_bindir}/slugify* %dir %{python_sitearch}/python_%{pkgname}-%{version}-py*.egg-info %{python_sitearch}/python_%{pkgname}-%{version}-py*.egg-info/* %changelog +* Fri Apr 07 2023 Sdk Build System 8.0.1-2mamba +- rebuilt with python 3.10 + * Sat Feb 25 2023 Automatic Build System 8.0.1-1mamba - automatic version update by autodist