15
0

Accepting request 582242 from home:apersaud:branches:devel:languages:python

- specfile:
  * update copyright year
  * don't use python_module for Requires

OBS-URL: https://build.opensuse.org/request/show/582242
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click-plugins?expand=0&rev=3
This commit is contained in:
2018-03-03 19:04:28 +00:00
committed by Git OBS Bridge
parent cf6f945568
commit 28862fbd44
2 changed files with 13 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-click-plugins
#
# Copyright (c) 2017 SUSE LINUX 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
@@ -13,6 +13,7 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
@@ -20,19 +21,19 @@
Name: python-click-plugins
Version: 1.0.3
Release: 0
License: BSD-3-Clause
Summary: An extension for click to register CLI commands via setuptools entry-points
Url: https://github.com/click-contrib/click-plugins
License: BSD-3-Clause
Group: Development/Languages/Python
Url: https://github.com/click-contrib/click-plugins
Source: https://files.pythonhosted.org/packages/source/c/click-plugins/click-plugins-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
%if %{with test}
BuildRequires: %{python_module click >= 3.0}
BuildRequires: %{python_module pytest}
%endif
Requires: %{python_module click >= 3.0}
Requires: python-click >= 3.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch