Skip to content

Commit

Permalink
spec: Remove pytest residuals in spec file
Browse files Browse the repository at this point in the history
In order build properly on public copr, we drop all the pytest
build dependencies as it is not necessary to run the tests during the
build.

Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
  • Loading branch information
vinzenz authored and pirat89 committed Oct 14, 2020
1 parent 87d50a7 commit 04137cf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packaging/leapp.spec
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,6 @@ BuildRequires: python-setuptools
%else # rhel <> 7 or fedora
BuildRequires: python2-devel
BuildRequires: python2-setuptools

%if 0%{?fedora}
BuildRequires: python2-pytest-cov
# BuildRequires: python2-pytest-flake8
%endif # fedora
%endif # rhel <> 7

Provides: leapp-framework = %{framework_version}
Expand Down Expand Up @@ -152,11 +147,6 @@ Summary: %{summary}
BuildRequires: python3-devel
BuildRequires: python3-setuptools

%if 0%{?fedora}
# Fedora
BuildRequires: python3-pytest-cov
%endif

Requires: leapp-framework-dependencies = %{framework_dependencies}

# FIXME: avoiding problems with dependencies on virtual capabilities, see:
Expand Down

0 comments on commit 04137cf

Please sign in to comment.