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
|
Summary: Use version control tags to discover version numbers
|
||||||
License: ISC
|
License: ISC
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/habnabit/vcversioner
|
URL: https://github.com/habnabit/vcversioner
|
||||||
Source0: https://pypi.python.org/packages/source/v/vcversioner/vcversioner-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/v/vcversioner/vcversioner-%{version}.tar.gz
|
||||||
Source1: https://raw.githubusercontent.com/habnabit/vcversioner/%{version}/COPYING
|
Source1: https://raw.githubusercontent.com/habnabit/vcversioner/%{version}/COPYING
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -54,8 +52,8 @@ cp %{SOURCE1} .
|
|||||||
%python_exec setup.py test
|
%python_exec setup.py test
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license COPYING
|
||||||
%doc README.rst COPYING
|
%doc README.rst
|
||||||
%{python_sitelib}/vcversioner.py*
|
%{python_sitelib}/vcversioner.py*
|
||||||
%pycache_only %{python_sitelib}/__pycache__/vcversioner.*.py*
|
%pycache_only %{python_sitelib}/__pycache__/vcversioner.*.py*
|
||||||
%{python_sitelib}/vcversioner-%{version}-py*.egg-info
|
%{python_sitelib}/vcversioner-%{version}-py*.egg-info
|
||||||
|
Loading…
x
Reference in New Issue
Block a user