forked from pool/python-aenum
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 88264bed81 | |||
| 4f03ceaf66 |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 2 03:13:04 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Switch to pyproject macros.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Feb 6 08:42:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
Tue Feb 6 08:42:07 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-aenum
|
# spec file for package python-aenum
|
||||||
#
|
#
|
||||||
# Copyright (c) 2024 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
|
||||||
@@ -32,7 +32,9 @@ Patch0: tempdir_missing.patch
|
|||||||
Patch1: skip_failing_testcases.patch
|
Patch1: skip_failing_testcases.patch
|
||||||
# PATCH-FIX-UPSTREAM fix-python312-tests.patch gh#ethanfurman/aenum#36
|
# PATCH-FIX-UPSTREAM fix-python312-tests.patch gh#ethanfurman/aenum#36
|
||||||
Patch2: fix-python312-tests.patch
|
Patch2: fix-python312-tests.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
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -67,10 +69,10 @@ duplicate values.
|
|||||||
%autosetup -p1 -n aenum-%{version}
|
%autosetup -p1 -n aenum-%{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
|
||||||
@@ -81,6 +83,6 @@ export LANG=en_US.UTF-8
|
|||||||
%doc README.md aenum/CHANGES aenum/doc/*
|
%doc README.md aenum/CHANGES aenum/doc/*
|
||||||
%license aenum/LICENSE
|
%license aenum/LICENSE
|
||||||
%{python_sitelib}/aenum
|
%{python_sitelib}/aenum
|
||||||
%{python_sitelib}/aenum-%{version}*-info
|
%{python_sitelib}/aenum-%{version}.dist-info
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user