14
0

- Add missing six BuildRequires.

- Stop using greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-file?expand=0&rev=12
This commit is contained in:
2023-06-16 06:55:52 +00:00
committed by Git OBS Bridge
parent 55bac5b4fe
commit 0f882c8a20
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 16 06:55:06 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing six BuildRequires.
- Stop using greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 3 12:11:33 UTC 2021 - pgajdos@suse.com Thu Jun 3 12:11:33 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-requests-file # spec file for package python-requests-file
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -22,11 +22,11 @@ Version: 1.5.1
Release: 0 Release: 0
Summary: File transport adapter for Requests Summary: File transport adapter for Requests
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/dashea/requests-file URL: https://github.com/dashea/requests-file
Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-requests Requires: python-requests
@@ -53,6 +53,8 @@ library to allow local filesystem access via file:// URLs.
%files %{python_files} %files %{python_files}
%license LICENSE %license LICENSE
%doc README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/requests_file.py
%pycache_only %{python_sitelib}/__pycache__/requests_file.*.py*
%{python_sitelib}/requests_file-%{version}*info
%changelog %changelog