From 265f28e6774175f3342dca89052bbefa6827d917 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 10 May 2020 12:58:29 +0200 Subject: [PATCH] Drop useless EL conditions Signed-off-by: Igor Raits --- python-uritemplate.spec | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/python-uritemplate.spec b/python-uritemplate.spec index 8e27b1f..d0cfdb3 100644 --- a/python-uritemplate.spec +++ b/python-uritemplate.spec @@ -3,12 +3,6 @@ %global _docdir_fmt %{name} -%if 0%{?rhel} >= 8 -%bcond_with pytests -%else -%bcond_without pytests -%endif - Name: python-%{modname} Version: 3.0.0 Release: 11%{?dist} @@ -30,9 +24,7 @@ Conflicts: python3-uri-templates %{?python_provide:%python_provide python3-%{altname}} BuildRequires: python3-devel BuildRequires: python3-setuptools -%if %{with pytests} BuildRequires: python3-pytest -%endif %description -n python3-%{modname} %{summary}. @@ -48,11 +40,8 @@ Python 3 version. %install %py3_install -%if %{with pytests} %check -#py.test-%{python3_version} -v PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v -%endif %files -n python3-%{modname} %license LICENSE