Skip to content

Commit 365d4c7

Browse files
committed
spec: Fix pytest invocation on RHEL7
1 parent dcb5728 commit 365d4c7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

python-bugzilla.spec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,8 @@ done
144144

145145
%check
146146
%if %{with python2}
147-
pytest
147+
# py.test naming is needed for RHEL7 compat, works fine with Fedora
148+
py.test
148149
%endif # with python2
149150
%if %{with python3}
150151
pytest-3

0 commit comments

Comments
 (0)