forked from pool/python-tkreadonly
Accepting request 1282519 from devel:languages:python
- Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/request/show/1282519 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-tkreadonly?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 4 06:12:29 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 13 14:35:09 UTC 2021 - pgajdos@suse.com
|
Wed Jan 13 14:35:09 UTC 2021 - pgajdos@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tkreadonly
|
# spec file for package python-tkreadonly
|
||||||
#
|
#
|
||||||
# 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,18 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-tkreadonly
|
Name: python-tkreadonly
|
||||||
Version: 0.6.1
|
Version: 0.6.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A set of Tkinter widgets to display readonly text and code
|
Summary: A set of Tkinter widgets to display readonly text and code
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
|
||||||
URL: http://github.org/pybee/tkreadonly
|
URL: http://github.org/pybee/tkreadonly
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/tkreadonly/tkreadonly-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/tkreadonly/tkreadonly-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module idle}
|
BuildRequires: %{python_module idle}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module tk}
|
BuildRequires: %{python_module tk}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-Pygments >= 1.5
|
Requires: python-Pygments >= 1.5
|
||||||
@@ -47,10 +47,10 @@ A set of Tkinter widgets to display readonly text and code.
|
|||||||
%setup -q -n tkreadonly-%{version}
|
%setup -q -n tkreadonly-%{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
|
||||||
@@ -59,6 +59,8 @@ A set of Tkinter widgets to display readonly text and code.
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/tkreadonly.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/tkreadonly.*.pyc
|
||||||
|
%{python_sitelib}/tkreadonly-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user