forked from pool/python-requests-file
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-file?expand=0&rev=6
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user