Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| f46202ac1c | |||
| 1197cb112d | |||
| 2a7835156c | |||
| 37f6e9f0a5 |
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 13 02:42:45 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 27 09:57:15 UTC 2025 - ecsos <ecsos@opensuse.org>
|
||||
|
||||
- Add %{?sle15_python_module_pythons}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 20 08:36:04 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-whatever
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-whatever
|
||||
Version: 0.7
|
||||
Release: 0
|
||||
@@ -24,8 +25,10 @@ License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/Suor/whatever
|
||||
Source: https://github.com/Suor/whatever/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -39,10 +42,10 @@ It is inspired by the Perl 6 one, see http://perlcabal.org/syn/S02.html#The_What
|
||||
%setup -q -n whatever-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -52,7 +55,7 @@ It is inspired by the Perl 6 one, see http://perlcabal.org/syn/S02.html#The_What
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python_sitelib}/whatever.py
|
||||
%{python_sitelib}/whatever-%{version}*-info
|
||||
%{python_sitelib}/whatever-%{version}.dist-info
|
||||
%pycache_only %{python_sitelib}/__pycache__
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user