Skip to content

Commit

Permalink
cli: make build works in openEuler
Browse files Browse the repository at this point in the history
Signed-off-by: lcrpkking <[email protected]>
  • Loading branch information
pkking committed Jul 24, 2023
1 parent 7442ec4 commit 8050351
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cli/copr-cli.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
%if 0%{?rhel} > 7 || 0%{?fedora}
%global __python %_bindir/python3
%global with_python3 1
%else
%if 0%{?rhel} && 0%{?rhel} <= 7
%global __python %_bindir/python2
%global with_python2 1
%else
%global __python %_bindir/python3
%global with_python3 1
%endif

%global min_python_copr_version 1.128.1
Expand Down

0 comments on commit 8050351

Please sign in to comment.