forked from pool/python-pythondialog
Accepting request 1289142 from devel:languages:python
- Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/request/show/1289142 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pythondialog?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 30 05:34:29 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
- No more greedy globs in %files.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 6 22:56:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
Thu Oct 6 22:56:24 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pythondialog
|
# spec file for package python-pythondialog
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 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
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
|
|
||||||
|
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-pythondialog
|
Name: python-pythondialog
|
||||||
Version: 3.5.3
|
Version: 3.5.3
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -26,7 +25,9 @@ License: LGPL-2.1-only
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://pythondialog.sourceforge.net/
|
URL: http://pythondialog.sourceforge.net/
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pythondialog/pythondialog-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pythondialog/pythondialog-%{version}.tar.gz
|
||||||
|
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: dialog
|
Requires: dialog
|
||||||
@@ -41,14 +42,16 @@ Easy writing of graphical interfaces for terminal-based applications
|
|||||||
%setup -q -n pythondialog-%{version}
|
%setup -q -n pythondialog-%{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}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/dialog.py
|
||||||
|
%pycache_only %{python_sitelib}/__pycache__/dialog.*.pyc
|
||||||
|
%{python_sitelib}/pythondialog-%{version}.dist-info
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README.rst ChangeLog AUTHORS
|
%doc README.rst ChangeLog AUTHORS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user