diff --git a/python-requests-mock.spec b/python-requests-mock.spec index 9ba85eb..c1cc9f3 100644 --- a/python-requests-mock.spec +++ b/python-requests-mock.spec @@ -24,7 +24,7 @@ Release: 0 Summary: Mock out responses from the requests package License: Apache-2.0 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 BuildRequires: %{python_module Sphinx >= 1.1.2} BuildRequires: %{python_module fixtures} @@ -38,13 +38,11 @@ BuildRequires: %{python_module testtools} BuildRequires: fdupes Requires: python-requests >= 1.1 Requires: python-six +BuildArch: noarch %ifpython3 BuildRequires: python3-dbm Requires: python3-dbm %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch - %python_subpackages %description @@ -73,8 +71,8 @@ testr run --parallel %endif %files %{python_files} -%defattr(-,root,root,-) -%doc AUTHORS README.rst LICENSE ChangeLog +%license LICENSE +%doc AUTHORS README.rst ChangeLog %{python_sitelib}/* %changelog