Skip to content

Conversation

@louberger
Copy link
Member

use py3.6 when building docs (3.12 failed)
remove protobuf-c-devel requirement except when building grpc
conditionally include conditionally built library

    use py3.6 when building docs (3.12 failed)
    remove protobuf-c-devel requirement except when building grpc
    conditionally include conditionally built library

Signed-off-by: Lou Berger <[email protected]>
Comment on lines +78 to +82
# force python 3.6 for sphinx
%if %{with_docs}
%global python3_pkgversion 3.6
%global __python3 /usr/bin/python3.6
%endif
Copy link

Choose a reason for hiding this comment

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

That seems a bit fragile. It will depend on which distro the upstream RPM is generated. If it is Centos-Stream 9, then the default python is 3.9.

BuildRequires: gcc
BuildRequires: json-c-devel
BuildRequires: libcap-devel
BuildRequires: protobuf-c-devel
Copy link

Choose a reason for hiding this comment

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

You are not adding it back when grpc is enabled?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants