forked from pool/python-requests-toolbelt
Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
ad7060b7f6 | |||
9384c54722 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 13:02:36 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 4 18:10:01 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-requests-toolbelt
|
||||
#
|
||||
# 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
|
||||
@@ -32,8 +32,10 @@ Patch0: stop-using-pyopenssl-compat.patch
|
||||
# PATCH-FIX-UPSTREAM 356-add-missing-casette-files.patch gh#requests/toolbelt!356 mcepl@suse.com
|
||||
# add missing casette files
|
||||
Patch1: 356-add-missing-casette-files.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module requests >= 2.12.2}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-requests >= 2.12.2
|
||||
@@ -63,10 +65,10 @@ cp %{SOURCE1} tests/certs
|
||||
rm -rf requests_toolbelt.egg-info
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
|
Reference in New Issue
Block a user