From b658b742c0b4233d128eefe390a73308066e0365 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Thu, 18 Jul 2024 09:54:17 +0200 Subject: [PATCH] Require rubypick only on Fedora There is no rubypick in rhel/centos but is in Fedora: https://src.fedoraproject.org/rpms/ruby/blob/7724c2d703c1d1dce91762d00489bd26a3785b47/f/ruby.spec#_146-148 This is the same fix as: https://src.fedoraproject.org/fork/lzachar/tests/ruby/c/98bf2ce800d42d3b17df5af62b782c43d39f21f3 --- systemtap-static-probes-in-ruby/main.fmf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/systemtap-static-probes-in-ruby/main.fmf b/systemtap-static-probes-in-ruby/main.fmf index 7868896..310c441 100644 --- a/systemtap-static-probes-in-ruby/main.fmf +++ b/systemtap-static-probes-in-ruby/main.fmf @@ -1,3 +1,10 @@ +adjust: +- when: distro != fedora + require-: + - rubypick + environment: + PACKAGES: "ruby rubygems" + summary: It tests there are static probes in ruby package. description: | Simple test to exercise ruby's systemtap API.