1
0

Compare commits

2 Commits

Author SHA256 Message Date
dd1ce5547f Accepting request 1293405 from devel:languages:python:aws
OBS-URL: https://build.opensuse.org/request/show/1293405
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-requests-aws?expand=0&rev=4
2025-07-15 14:46:09 +00:00
7d37753542 - Limit Python files matched in %files section
- Switch package to modern Python Stack on SLE-15
  * Use Python 3.11 on SLE-15 by default
  * Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-requests-aws?expand=0&rev=9
2025-07-15 10:55:05 +00:00
2 changed files with 21 additions and 8 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Jul 15 10:24:49 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Limit Python files matched in %files section
- Switch package to modern Python Stack on SLE-15
* Use Python 3.11 on SLE-15 by default
* Drop support for older Python versions
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
-------------------------------------------------------------------
Thu Nov 26 11:07:08 UTC 2020 - Robert Schweikert <rjschwei@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-requests-aws
#
# Copyright (c) 2020 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,10 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} >= 1500
%define skip_python2 1
%endif
%{?sle15_python_module_pythons}
Name: python-requests-aws
Version: 0.1.8
Release: 0
@@ -29,8 +26,10 @@ Group: Development/Languages/Python
URL: https://github.com/tax/python-requests-aws
Source: https://files.pythonhosted.org/packages/source/r/requests-aws/requests-aws-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
Requires: python-requests >= 2.4.1
BuildArch: noarch
@@ -45,14 +44,16 @@ At the moment, only S3 is supported.
%setup -q -n requests-aws-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%files %{python_files}
%license LICENSE.txt
%doc README.md
%{python_sitelib}/*
%pycache_only %{python_sitelib}/__pycache__
%{python_sitelib}/awsauth.py
%{python_sitelib}/requests_aws-%{version}.dist-info
%changelog