From 9c3e90b576bb26784c191c142f78a7ddff97dcb7d20758a429014858c6f9fa16 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 15 Feb 2019 09:02:18 +0000 Subject: [PATCH] Accepting request 674961 from devel:languages:python:pytest - Cleanup a bit - Remove test condition, there are no tests even in upstream git repository OBS-URL: https://build.opensuse.org/request/show/674961 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-env?expand=0&rev=2 --- python-pytest-env.changes | 7 +++++++ python-pytest-env.spec | 25 ++++++------------------- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/python-pytest-env.changes b/python-pytest-env.changes index 27988fd..af376a6 100644 --- a/python-pytest-env.changes +++ b/python-pytest-env.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Feb 14 12:37:20 UTC 2019 - Tomáš Chvátal + +- Cleanup a bit +- Remove test condition, there are no tests even in upstream git + repository + ------------------------------------------------------------------- Wed May 9 23:25:20 UTC 2018 - toddrme2178@gmail.com diff --git a/python-pytest-env.spec b/python-pytest-env.spec index e25669c..7690bc0 100644 --- a/python-pytest-env.spec +++ b/python-pytest-env.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-env # -# Copyright (c) 2018 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,25 @@ # 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_with test Name: python-pytest-env Version: 0.6.2 -# For the license file -%define tag afb13a0e908f649b69273f299262ac12f1b71113 Release: 0 -License: MIT Summary: Pytest plugin to add environment variables -Url: https://github.com/MobileDynasty/pytest-env +License: MIT Group: Development/Languages/Python +URL: https://github.com/MobileDynasty/pytest-env Source: https://files.pythonhosted.org/packages/source/p/pytest-env/pytest-env-%{version}.tar.gz -Source10: https://raw.githubusercontent.com/MobileDynasty/pytest-env/%{tag}/LICENSE -BuildRequires: %{python_module devel} +Source10: https://raw.githubusercontent.com/MobileDynasty/pytest-env/master/LICENSE BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module pytest >= 2.6.0} -%endif Requires: python-pytest >= 2.6.0 BuildArch: noarch - %python_subpackages %description @@ -54,13 +47,7 @@ cp %{SOURCE10} . %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} -%check -%python_exec setup.py test -%endif - %files %{python_files} -%defattr(-,root,root,-) %license LICENSE %{python_sitelib}/*