Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build/ops: rpm: RHEL 8 needs Python 3 build #25223

Merged
merged 1 commit into from Nov 26, 2018

Conversation

smithfarm
Copy link
Contributor

Signed-off-by: Nathan Cutler ncutler@suse.com

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Signed-off-by: Nathan Cutler <ncutler@suse.com>
@smithfarm
Copy link
Contributor Author

Copy link
Contributor

@badone badone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Well spotted, ahead of the game.

@@ -57,7 +57,7 @@
%endif
%endif
%bcond_with seastar
%if 0%{?fedora} >= 29 || 0%{?suse_version} >= 1500
%if 0%{?fedora} >= 29 || 0%{?suse_version} >= 1500 || 0%{?rhel} >= 8
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool! didn't realize that RHEL8 is using python3 as the default python. see https://developers.redhat.com/blog/2018/11/14/python-in-rhel-8/

@dmick
Copy link
Member

dmick commented Nov 26, 2018

# distros that need a py3 Ceph build
%bcond_with python2

spec macro writers really need to try harder to make things confusing

@smithfarm
Copy link
Contributor Author

@dmick Wins prize for "least aptly named RPM macro" (pun - get it, get it?)

@smithfarm smithfarm merged commit fbea0e6 into ceph:master Nov 26, 2018
@smithfarm smithfarm deleted the wip-rhel-8-py3 branch November 26, 2018 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants