diff --git a/python-pretend.spec b/python-pretend.spec index fceec40..a5e37dc 100644 --- a/python-pretend.spec +++ b/python-pretend.spec @@ -23,13 +23,11 @@ Release: 0 Summary: A library for stubbing in Python License: BSD-3-Clause Group: Development/Languages/Python -Url: https://github.com/alex/pretend -Source: https://pypi.io/packages/source/p/pretend/pretend-%{version}.tar.gz +URL: https://github.com/alex/pretend +Source: https://files.pythonhosted.org/packages/source/p/pretend/pretend-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -44,9 +42,9 @@ Pretend is a library to make stubbing with Python easier. %install %python_install -%files %python_files -%defattr(-,root,root,-) -%doc LICENSE.rst README.rst +%files %{python_files} +%license LICENSE.rst +%doc README.rst %{python_sitelib}/* %changelog