From 06f5fbef6b57ea15b49f73d76bcd7fba1fc1823b1e82b326123293b81c3942fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 27 Jun 2025 15:53:51 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-python-slugify revision 279d6a1938ad41ade789f76fd79f981a --- python-python-slugify.changes | 5 +++++ python-python-slugify.spec | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/python-python-slugify.changes b/python-python-slugify.changes index d47946a..886b3d3 100644 --- a/python-python-slugify.changes +++ b/python-python-slugify.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jun 11 05:49:34 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. + ------------------------------------------------------------------- Fri Jan 03 09:19:12 UTC 2025 - opensuse_buildservice@ojkastl.de diff --git a/python-python-slugify.spec b/python-python-slugify.spec index f32eda9..e204604 100644 --- a/python-python-slugify.spec +++ b/python-python-slugify.spec @@ -23,11 +23,12 @@ Version: 8.0.4 Release: 0 Summary: Slugify application that handles Unicode License: MIT -Group: Development/Languages/Python URL: https://github.com/un33k/python-slugify Source: %{short_name}-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module text-unidecode >= 1.3} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-text-unidecode >= 1.3 @@ -45,10 +46,10 @@ A Python Slugify application that handles Unicode. %setup -q -n %{short_name}-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/slugify %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -65,7 +66,7 @@ A Python Slugify application that handles Unicode. %doc CHANGELOG.md README.md %license LICENSE %python_alternative %{_bindir}/slugify -%{python_sitelib}/python_slugify-%{version}-py*.egg-info +%{python_sitelib}/python_slugify-%{version}.dist-info %{python_sitelib}/slugify/ %changelog