forked from pool/python-knack
Accepting request 881846 from home:glaubitz:branches:devel:languages:python
- New upstream release
+ Version 0.8.0
+ For detailed information about changes see the
CHANGELOG.md file provided with this package
- Override upstream version with 0.8.0.0 to ensure
proper upgrade from previous version 0.8.0rc2
- Update BuildRequires and Requires from setup.py
OBS-URL: https://build.opensuse.org/request/show/881846
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-knack?expand=0&rev=31
This commit is contained in:
@@ -16,16 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%define realversion 0.8.0
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-knack
|
||||
Version: 0.8.0rc2
|
||||
Version: 0.8.0.0
|
||||
Release: 0
|
||||
Summary: A Command-Line Interface framework
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/microsoft/knack
|
||||
Source: https://files.pythonhosted.org/packages/source/k/knack/knack-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/k/knack/knack-%{realversion}.tar.gz
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module argcomplete}
|
||||
BuildRequires: %{python_module colorama}
|
||||
@@ -34,7 +36,6 @@ BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pygments}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module tabulate}
|
||||
BuildRequires: %{python_module vcrpy}
|
||||
BuildRequires: fdupes
|
||||
@@ -44,7 +45,6 @@ Requires: python-argcomplete
|
||||
Requires: python-colorama
|
||||
Requires: python-jmespath
|
||||
Requires: python-pygments
|
||||
Requires: python-six
|
||||
Requires: python-tabulate
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -53,7 +53,7 @@ BuildArch: noarch
|
||||
A Command-Line Interface framework
|
||||
|
||||
%prep
|
||||
%setup -q -n knack-%{version}
|
||||
%setup -q -n knack-%{realversion}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user