Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-requests-mock?expand=0&rev=28
This commit is contained in:
parent
a2780e4859
commit
c742703d5b
@ -24,7 +24,7 @@ Release: 0
|
|||||||
Summary: Mock out responses from the requests package
|
Summary: Mock out responses from the requests package
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://requests-mock.readthedocs.org/
|
URL: https://requests-mock.readthedocs.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/r/requests-mock/requests-mock-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Sphinx >= 1.1.2}
|
BuildRequires: %{python_module Sphinx >= 1.1.2}
|
||||||
BuildRequires: %{python_module fixtures}
|
BuildRequires: %{python_module fixtures}
|
||||||
@ -38,13 +38,11 @@ BuildRequires: %{python_module testtools}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-requests >= 1.1
|
Requires: python-requests >= 1.1
|
||||||
Requires: python-six
|
Requires: python-six
|
||||||
|
BuildArch: noarch
|
||||||
%ifpython3
|
%ifpython3
|
||||||
BuildRequires: python3-dbm
|
BuildRequires: python3-dbm
|
||||||
Requires: python3-dbm
|
Requires: python3-dbm
|
||||||
%endif
|
%endif
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -73,8 +71,8 @@ testr run --parallel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc AUTHORS README.rst LICENSE ChangeLog
|
%doc AUTHORS README.rst ChangeLog
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user