Skip to content

Commit

Permalink
Merge pull request #86 from athos-ribeiro/rhel8-pkg
Browse files Browse the repository at this point in the history
Do not build python2 package for rhel >= 8 distros
  • Loading branch information
Athos Ribeiro committed Sep 19, 2019
2 parents e1f4f02 + 1b78846 commit 6d3daf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-dockerfile-parse.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
%bcond_without python3
%endif

%if 0%{?fedora} && 0%{?fedora} >= 30
%if (0%{?fedora} && 0%{?fedora} >= 30) || (0%{?rhel} && 0%{?rhel} >= 8)
%bcond_with python2
%else
%bcond_without python2
Expand Down

0 comments on commit 6d3daf9

Please sign in to comment.