14
0

Accepting request 1284978 from devel:languages:python

- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/request/show/1284978
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ufoProcessor?expand=0&rev=4
This commit is contained in:
2025-06-12 13:53:32 +00:00
committed by Git OBS Bridge
2 changed files with 13 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jun 12 05:07:20 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 17 15:11:55 UTC 2021 - Matej Cepl <mcepl@suse.com> Wed Mar 17 15:11:55 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-ufoProcessor # spec file for package python-ufoProcessor
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%global skip_python36 1 %global skip_python36 1
Name: python-ufoProcessor Name: python-ufoProcessor
Version: 1.9.0 Version: 1.9.0
@@ -25,8 +24,10 @@ Summary: Read, write and generate UFOs with designspace data
License: MIT License: MIT
URL: https://github.com/LettError/ufoProcessor URL: https://github.com/LettError/ufoProcessor
Source: https://files.pythonhosted.org/packages/source/u/ufoProcessor/ufoProcessor-%{version}.zip Source: https://files.pythonhosted.org/packages/source/u/ufoProcessor/ufoProcessor-%{version}.zip
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildRequires: unzip BuildRequires: unzip
@@ -59,10 +60,10 @@ Read, write and generate UFOs with designspace data.
%setup -q -n ufoProcessor-%{version} %setup -q -n ufoProcessor-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -71,6 +72,7 @@ Read, write and generate UFOs with designspace data.
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/ufoProcessor
%{python_sitelib}/ufo[Pp]rocessor-%{version}.dist-info
%changelog %changelog