14
0
2025-06-11 12:55:10 +00:00
committed by Git OBS Bridge
parent e045ec1e73
commit 9ca2a9593e
2 changed files with 13 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-requests-download
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -26,7 +26,9 @@ Group: Development/Languages/Python
URL: https://www.github.com/takluyver/requests_download
Source: https://files.pythonhosted.org/packages/source/r/requests_download/requests_download-%{version}.tar.gz
Source1: https://raw.githubusercontent.com/takluyver/requests_download/master/LICENSE
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-progressbar
@@ -42,15 +44,17 @@ This module downloads files using requests and saves them to a target path.
cp %{SOURCE1} .
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/requests_download.py
%{python_sitelib}/requests[-_]download-%{version}*-info
%pycache_only %{python_sitelib}/__pycache__/requests_download*
%changelog