From cd07588c575a5918df8c7d8e09cac70ace50bc7feb2fd3f93773fab42bc7792f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:21:09 +0000 Subject: [PATCH] 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