From 2386c8daa5e2652b89a5e7b13c6dbb9ba53659ae3fc1f9e6920764e7c093d425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 20 Aug 2020 10:32:30 +0000 Subject: [PATCH] Accepting request 828121 from home:jayvdb:branches:devel:languages:python - Remove unnecessary bcond_without test OBS-URL: https://build.opensuse.org/request/show/828121 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-capturer?expand=0&rev=10 --- python-capturer.changes | 5 +++++ python-capturer.spec | 8 -------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/python-capturer.changes b/python-capturer.changes index ebc3dd0..a508a0e 100644 --- a/python-capturer.changes +++ b/python-capturer.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Aug 20 10:12:14 UTC 2020 - John Vandenberg + +- Remove unnecessary bcond_without test + ------------------------------------------------------------------- Mon Mar 30 09:31:30 UTC 2020 - Marketa Calabkova diff --git a/python-capturer.spec b/python-capturer.spec index cfd048c..2a246dd 100644 --- a/python-capturer.spec +++ b/python-capturer.spec @@ -17,7 +17,6 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without test Name: python-capturer Version: 3.0 Release: 0 @@ -29,12 +28,8 @@ Source: https://files.pythonhosted.org/packages/source/c/capturer/captur BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module coverage >= 4.2} BuildRequires: %{python_module humanfriendly >= 8.0} BuildRequires: %{python_module pytest >= 3.0.4} -BuildRequires: %{python_module pytest-cov >= 2.4.0} -%endif Requires: python-humanfriendly >= 8.0 BuildArch: noarch @@ -59,14 +54,11 @@ but definitely won't work on Windows (due to the use of the platform dependent %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check export LANG=en_US.UTF-8 %pytest capturer/tests.py -%endif %files %{python_files} -%defattr(-,root,root,-) %doc README.rst %license LICENSE.txt %{python_sitelib}/*