diff --git a/python-vcversioner.changes b/python-vcversioner.changes index 2b1bbe7..28e9207 100644 --- a/python-vcversioner.changes +++ b/python-vcversioner.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Dec 4 12:55:46 UTC 2018 - Matej Cepl + +- Remove superfluous devel dependency for noarch package + ------------------------------------------------------------------- Fri Apr 7 20:55:59 UTC 2017 - toddrme2178@gmail.com diff --git a/python-vcversioner.spec b/python-vcversioner.spec index 76818f9..1274f6c 100644 --- a/python-vcversioner.spec +++ b/python-vcversioner.spec @@ -1,7 +1,7 @@ # # spec file for package python-vcversioner # -# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,26 +12,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-vcversioner Version: 2.16.0.0 Release: 0 -License: ISC Summary: Use version control tags to discover version numbers -Url: https://github.com/habnabit/vcversioner +License: ISC Group: Development/Languages/Python -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 -BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -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