1
0
forked from pool/python-apiron

Accepting request 1139548 from devel:languages:python

- Clean up the SPEC file

- enable %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1139548
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-apiron?expand=0&rev=7
This commit is contained in:
2024-01-18 20:52:24 +00:00
committed by Git OBS Bridge
2 changed files with 18 additions and 6 deletions
+10
View File
@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Jan 17 22:07:31 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Clean up the SPEC file
-------------------------------------------------------------------
Tue Jan 16 09:27:46 UTC 2024 - Axel Braun <axel.braun@gmx.de>
- enable %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Sun Jul 16 10:53:34 UTC 2023 - Dirk Müller <dmueller@suse.com>
+8 -6
View File
@@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2019-2022 Dr. Axel Braun <DocB@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@@ -17,7 +17,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
%define skip_python2 1
%define skip_python36 1
%define modname apiron
@@ -28,10 +28,11 @@ Summary: Apiron helps you cook a tasty client for RESTful APIs
License: MIT
URL: https://github.com/ithaka/apiron
Source: https://files.pythonhosted.org/packages/source/a/apiron/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests >= 2.11.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-requests >= 2.11.1
@@ -47,10 +48,10 @@ apiron provides declarative, structured configuration of services and endpoints
%setup -q -n %{modname}-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,6 +61,7 @@ apiron provides declarative, structured configuration of services and endpoints
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/apiron
%{python_sitelib}/apiron-%{version}*-info
%changelog