diff --git a/python-translitcodec.changes b/python-translitcodec.changes index 4db0f14..dbd16be 100644 --- a/python-translitcodec.changes +++ b/python-translitcodec.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Jun 4 06:14:30 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Tue Oct 11 16:08:46 UTC 2022 - Yogalakshmi Arunachalam diff --git a/python-translitcodec.spec b/python-translitcodec.spec index aeb2421..f400291 100644 --- a/python-translitcodec.spec +++ b/python-translitcodec.spec @@ -1,7 +1,7 @@ # # spec file for package python-translitcodec # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,7 +16,6 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-translitcodec Version: 0.7.0 @@ -26,8 +25,10 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/claudep/translitcodec Source: https://files.pythonhosted.org/packages/source/t/translitcodec/translitcodec-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildArch: noarch @@ -44,10 +45,10 @@ the ``transtab`` collection by Markus Kuhn. %setup -q -n translitcodec-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,6 +57,7 @@ the ``transtab`` collection by Markus Kuhn. %files %{python_files} %doc AUTHORS CHANGES README %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/translitcodec +%{python_sitelib}/translitcodec-%{version}.dist-info %changelog