forked from pool/python-technicolor
- Switch to pyproject macros.
- No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-technicolor?expand=0&rev=9
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 4 06:08:35 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 19 08:03:12 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
Tue May 19 08:03:12 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-technicolor
|
# spec file for package python-technicolor
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 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,17 +16,17 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-technicolor
|
Name: python-technicolor
|
||||||
Version: 2017.1.16.1544
|
Version: 2017.1.16.1544
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python package for logging in colour
|
Summary: Python package for logging in colour
|
||||||
License: GPL-3.0-only
|
License: GPL-3.0-only
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: https://github.com/wdbm/technicolor
|
URL: https://github.com/wdbm/technicolor
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/technicolor/technicolor-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/technicolor/technicolor-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
@@ -43,10 +43,10 @@ means of a decorator.
|
|||||||
%setup -q -n technicolor-%{version}
|
%setup -q -n technicolor-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_clone -a %{buildroot}%{_bindir}/technicolor
|
%python_clone -a %{buildroot}%{_bindir}/technicolor
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
@@ -63,6 +63,8 @@ means of a decorator.
|
|||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%python_alternative %{_bindir}/technicolor
|
%python_alternative %{_bindir}/technicolor
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/technicolor.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/technicolor.*.pyc
|
||||||
|
%{python_sitelib}/technicolor-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user