Skip to content

Commit aa82881

Browse files
committed
spec: Fix -cli deps regarding python2 vs python3
1 parent 6fe65f1 commit aa82881

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

python-bugzilla.spec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,11 @@ over XML-RPC.
5757

5858
%package cli
5959
Summary: Command line tool for interacting with Bugzilla
60-
Requires: python-bugzilla
60+
%if 0%{?with_python3}
61+
Requires: python3-bugzilla = %{version}-%{release}
62+
%else
63+
Requires: python-bugzilla = %{version}-%{release}
64+
%endif
6165

6266
%description cli
6367
This package includes the 'bugzilla' command-line tool for interacting with bugzilla. Uses the python-bugzilla API

0 commit comments

Comments
 (0)