forked from pool/python-vcversioner
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcversioner?expand=0&rev=8
This commit is contained in:
parent
e90d55f736
commit
95fce93ea4
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user