From 95fce93ea415106fa159f70f989cfb2f92211fa2c261c942cdeb0a53f81a770f Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 4 Dec 2018 17:25:06 +0000 Subject: [PATCH] Clean up the SPEC file OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcversioner?expand=0&rev=8 --- python-vcversioner.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python-vcversioner.spec b/python-vcversioner.spec index 28a7c2e..1274f6c 100644 --- a/python-vcversioner.spec +++ b/python-vcversioner.spec @@ -23,15 +23,13 @@ Release: 0 Summary: Use version control tags to discover version numbers License: ISC Group: Development/Languages/Python -Url: https://github.com/habnabit/vcversioner -Source0: https://pypi.python.org/packages/source/v/vcversioner/vcversioner-%{version}.tar.gz +URL: https://github.com/habnabit/vcversioner +Source0: https://files.pythonhosted.org/packages/source/v/vcversioner/vcversioner-%{version}.tar.gz Source1: https://raw.githubusercontent.com/habnabit/vcversioner/%{version}/COPYING BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch - %python_subpackages %description @@ -54,8 +52,8 @@ cp %{SOURCE1} . %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc README.rst COPYING +%license COPYING +%doc README.rst %{python_sitelib}/vcversioner.py* %pycache_only %{python_sitelib}/__pycache__/vcversioner.*.py* %{python_sitelib}/vcversioner-%{version}-py*.egg-info