From 0f882c8a20d4232fcb37da63772f602ff7364baa60bc6dfbfdd308277fe54e23 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 16 Jun 2023 06:55:52 +0000 Subject: [PATCH] - 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 --- python-requests-file.changes | 6 ++++++ python-requests-file.spec | 8 +++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/python-requests-file.changes b/python-requests-file.changes index 1e3b424..555bed7 100644 --- a/python-requests-file.changes +++ b/python-requests-file.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 16 06:55:06 UTC 2023 - Steve Kowalik + +- Add missing six BuildRequires. +- Stop using greedy globs in %files. + ------------------------------------------------------------------- Thu Jun 3 12:11:33 UTC 2021 - pgajdos@suse.com diff --git a/python-requests-file.spec b/python-requests-file.spec index f701a88..2155e86 100644 --- a/python-requests-file.spec +++ b/python-requests-file.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -22,11 +22,11 @@ Version: 1.5.1 Release: 0 Summary: File transport adapter for Requests License: Apache-2.0 -Group: Development/Languages/Python URL: https://github.com/dashea/requests-file Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-requests @@ -53,6 +53,8 @@ library to allow local filesystem access via file:// URLs. %files %{python_files} %license LICENSE %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