14
0

- Switch to pyproject macros.

- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-text-unidecode?expand=0&rev=14
This commit is contained in:
2025-06-04 06:16:50 +00:00
committed by Git OBS Bridge
parent d46898d97c
commit 84993ca70a
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 4 06:09:06 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Fri Apr 21 12:37:25 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-text-unidecode
#
# Copyright (c) 2023 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-%{**}}
%{?sle15_python_module_pythons}
Name: python-text-unidecode
Version: 1.3
@@ -26,8 +25,10 @@ License: Artistic-1.0 OR GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/kmike/text-unidecode/
Source: https://files.pythonhosted.org/packages/source/t/text-unidecode/text-unidecode-%{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
@@ -47,10 +48,10 @@ This port is licensed under Artistic License and supports both Python
%setup -q -n text-unidecode-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -59,6 +60,7 @@ This port is licensed under Artistic License and supports both Python
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/text_unidecode
%{python_sitelib}/text_unidecode-%{version}.dist-info
%changelog