From 41760e8993a40ec5a51bb8963665742c0138205517b74da436cb06198ffcf091 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 15 Aug 2019 08:35:16 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=28 --- python-packaging.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/python-packaging.spec b/python-packaging.spec index 17d9ad8..0d34aa6 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -21,12 +21,11 @@ %if "%{flavor}" == "test" %define psuffix -test %bcond_without test -%define skip_python2 1 %else %define psuffix %{nil} %bcond_with test %endif -Name: python-packaging +Name: python-packaging%{psuffix} Version: 19.1 Release: 0 Summary: Core utilities for Python packages @@ -42,8 +41,6 @@ Patch3: 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch BuildRequires: %{python_module six} BuildRequires: fdupes BuildRequires: python-rpm-macros -# https://github.com/pypa/packaging/issues/91 -Requires: python-attrs Requires: python-pyparsing >= 2.0.2 Requires: python-six BuildArch: noarch @@ -75,7 +72,7 @@ test -d packaging.egg-info %if %{with test} %check -%python_exec %{_bindir}/py.test +%pytest %endif # %%{with_test} %if !%{with test}