From 28862fbd44764674d8513c1b0e2d6a0bdc1f46927484af95d379948728210c1e Mon Sep 17 00:00:00 2001 From: Sebastian Wagner Date: Sat, 3 Mar 2018 19:04:28 +0000 Subject: [PATCH] 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 --- python-click-plugins.changes | 7 +++++++ python-click-plugins.spec | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/python-click-plugins.changes b/python-click-plugins.changes index 3a18d68..61bad8e 100644 --- a/python-click-plugins.changes +++ b/python-click-plugins.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Mar 3 18:34:32 UTC 2018 - arun@gmx.de + +- specfile: + * update copyright year + * don't use python_module for Requires + ------------------------------------------------------------------- Tue Jul 4 15:11:11 UTC 2017 - sebix+novell.com@sebix.at diff --git a/python-click-plugins.spec b/python-click-plugins.spec index b94dc5e..9874074 100644 --- a/python-click-plugins.spec +++ b/python-click-plugins.spec @@ -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