From f3e3adf4028ad6617b5a8662c13a0e1be6bc46cdd93ebdc14eaa7e6556e9c717 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 13:59:32 +0000 Subject: [PATCH 1/2] Remove superfluous devel dependency for noarch package OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-file?expand=0&rev=5 --- python-requests-file.changes | 5 +++++ python-requests-file.spec | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/python-requests-file.changes b/python-requests-file.changes index 5dc001d..78dfa82 100644 --- a/python-requests-file.changes +++ b/python-requests-file.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:53:43 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Sat Jan 6 05:26:44 UTC 2018 - arun@gmx.de diff --git a/python-requests-file.spec b/python-requests-file.spec index 254e2f3..7bdb8aa 100644 --- a/python-requests-file.spec +++ b/python-requests-file.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -27,7 +27,6 @@ License: Apache-2.0 Group: Development/Languages/Python Url: http://github.com/dashea/requests-file Source: https://files.pythonhosted.org/packages/source/r/requests-file/requests-file-%{version}.tar.gz -BuildRequires: %{python_module devel} BuildRequires: %{python_module requests} BuildRequires: %{python_module setuptools} BuildRequires: fdupes From cd07588c575a5918df8c7d8e09cac70ace50bc7feb2fd3f93773fab42bc7792f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:09 +0000 Subject: [PATCH 2/2] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-file?expand=0&rev=6 --- python-requests-file.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python-requests-file.spec b/python-requests-file.spec index 7bdb8aa..52027e0 100644 --- a/python-requests-file.spec +++ b/python-requests-file.spec @@ -16,23 +16,21 @@ # -%bcond_without tests - %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%bcond_without tests Name: python-requests-file Version: 1.4.3 Release: 0 Summary: File transport adapter for Requests License: Apache-2.0 Group: Development/Languages/Python -Url: http://github.com/dashea/requests-file +URL: http://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: fdupes BuildRequires: python-rpm-macros Requires: python-requests -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -56,8 +54,8 @@ library to allow local filesystem access via file:// URLs. %endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog