From: Frank Ch. Eigler Date: Sun, 12 Nov 2023 12:46:51 +0000 (-0500) Subject: systemtap.spec: always build systemtap-jupyter X-Git-Tag: release-5.1~90 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=b38a27a603e87c26a192256cef59d07f93ff1235;p=systemtap.git systemtap.spec: always build systemtap-jupyter The build/packaging part of that subsystem does not actually depend on python or anything. The "make install" configury is entirely unconditional. So the RPM should also unconditionally package the %files up. (They won't -run- without python, but that's a runtime dependency issue, not a build-time one.) --- diff --git a/systemtap.spec b/systemtap.spec index e0b1de9ca..341e77b35 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -563,7 +563,6 @@ This package installs the services necessary on a virtual machine for a systemtap-runtime-virthost machine to execute systemtap scripts. %endif -%if %{with_python3} && %{with_monitor} %package jupyter Summary: ISystemtap jupyter kernel and examples License: GPL-2.0-or-later @@ -574,7 +573,7 @@ Requires: systemtap = %{version}-%{release} This package includes files needed to build and run the interactive systemtap Jupyter kernel, either locally or within a container. -%endif + # ------------------------------------------------------------------------ %prep @@ -1280,14 +1279,12 @@ exit 0 %{_sbindir}/stap-exporter %endif -%if %{with_python3} && %{with_monitor} %files jupyter %{_bindir}/stap-jupyter-container %{_bindir}/stap-jupyter-install %{_mandir}/man1/stap-jupyter.1* %dir %{_datadir}/systemtap %{_datadir}/systemtap/interactive-notebook -%endif # ------------------------------------------------------------------------