From 0d81c8b95abcb0bbce06fb63207dec45f2b85f6f Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Thu, 1 Aug 2024 10:38:59 +0200 Subject: [PATCH] Remove systemtap-sdt-dtrace dependency including dtrace command. This commit is an improvement for the past commit . According to the following part at the commit[1] on systemtap rawhide, systemtap-sdt-devel RPM requires systemtap-sdt-dtrace RPM including the `dtrace` command. We can remove the systemtap-sdt-dtrace build dependency. ``` %package sdt-devel ... Requires: systemtap-sdt-dtrace = %{version}-%{release} ``` [1] https://src.fedoraproject.org/rpms/systemtap/c/93948388bc54cd7a4efb1806d9787291d26b33d6?branch=rawhide --- ruby.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ruby.spec b/ruby.spec index a59290e..0531b19 100644 --- a/ruby.spec +++ b/ruby.spec @@ -171,7 +171,7 @@ Summary: An interpreter of object-oriented scripting language Name: ruby Version: %{ruby_version}%{?development_release} -Release: 13%{?dist} +Release: 14%{?dist} # Licenses, which are likely not included in binary RPMs: # Apache-2.0: # benchmark/gc/redblack.rb @@ -293,7 +293,6 @@ BuildRequires: libyaml-devel BuildRequires: openssl-devel BuildRequires: zlib-devel %{?with_gmp:BuildRequires: gmp-devel} -%{?with_systemtap:BuildRequires: %{_bindir}/dtrace} %{?with_systemtap:BuildRequires: systemtap-sdt-devel} %{?with_yjit:BuildRequires: %{_bindir}/rustc} @@ -1716,6 +1715,9 @@ make -C %{_vpath_builddir} runruby TESTRUN_SCRIPT=" \ %changelog +* Thu Aug 01 2024 Jun Aruga - 3.3.4-14 +- Remove systemtap-sdt-dtrace dependency including dtrace command. + * Mon Jul 29 2024 Jun Aruga - 3.3.4-13 - Add systemtap-sdt-devel to build Ruby with systemtap sdt header files. Co-authored-by: Lumír Balhar