17
0

Compare commits

2 Commits

2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 13 13:46:31 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 30 09:56:56 UTC 2021 - Matej Cepl <mcepl@suse.com> Mon Aug 30 09:56:56 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-application # spec file for package python-application
# #
# 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-%{**}}
Name: python-application Name: python-application
Version: 3.0.3 Version: 3.0.3
Release: 0 Release: 0
@@ -28,9 +27,13 @@ Source: https://github.com/AGProjects/python3-application/archive/refs/t
# PATCH-FIX-UPSTREAM examples_to_py3k.patch gh#AGProjects/python3-application#2 mcepl@suse.com # PATCH-FIX-UPSTREAM examples_to_py3k.patch gh#AGProjects/python3-application#2 mcepl@suse.com
# Replace py2k shebangs with py3k ones # Replace py2k shebangs with py3k ones
Patch0: examples_to_py3k.patch Patch0: examples_to_py3k.patch
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-zope.interface
BuildArch: noarch
%python_subpackages %python_subpackages
%description %description
@@ -52,10 +55,10 @@ handle the following tasks:
%autosetup -p1 -n python3-application-%{version} %autosetup -p1 -n python3-application-%{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