From 86137c848394dbec42119215164ab58fd8bc3c13b23af31c99fbd88b668f049e Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:18:38 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pretend?expand=0&rev=7 --- python-pretend.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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