From 6e9470ade86247b7229f67eaf6e252915ee50c430ff4e92d9369ade90f99c0b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Tue, 12 Mar 2019 15:27:50 +0000 Subject: [PATCH] - Remove conditional for tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-genty?expand=0&rev=2 --- python-genty.changes | 5 +++++ python-genty.spec | 25 ++++++++++--------------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/python-genty.changes b/python-genty.changes index 6df676d..a7ec84f 100644 --- a/python-genty.changes +++ b/python-genty.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 12 15:27:12 UTC 2019 - Tomáš Chvátal + +- Remove conditional for tests + ------------------------------------------------------------------- Fri Oct 20 16:15:09 UTC 2017 - toddrme2178@gmail.com diff --git a/python-genty.spec b/python-genty.spec index bc8a097..26024bd 100644 --- a/python-genty.spec +++ b/python-genty.spec @@ -1,7 +1,7 @@ # # spec file for package python-genty # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,32 +12,29 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-genty Version: 1.3.2 Release: 0 -License: Apache-2.0 Summary: Run a test with multiple data sets -Url: https://github.com/box/genty +License: Apache-2.0 Group: Development/Languages/Python +URL: https://github.com/box/genty Source: https://files.pythonhosted.org/packages/source/g/genty/genty-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module devel} -BuildRequires: %{python_module setuptools} -BuildRequires: fdupes -%if %{with test} BuildRequires: %{python_module mock} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six} -%endif +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-six Suggests: python-ordereddict BuildArch: noarch - %python_subpackages %description @@ -55,14 +52,12 @@ input. Genty makes this a breeze. %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check %python_exec setup.py test -%endif %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitelib}/* %changelog