1
0
Matej Cepl 2018-12-04 17:25:06 +00:00 committed by Git OBS Bridge
parent e90d55f736
commit 95fce93ea4

View File

@ -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