Drop useless EL conditions
Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
0b49e2d051
commit
265f28e677
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user