From 9d17f8915e90852186bfc3409abec6d8a9426987 Mon Sep 17 00:00:00 2001 From: Chunmei Xu Date: Thu, 9 Mar 2023 10:23:14 +0800 Subject: [PATCH] use system-rpm-config as requires Signed-off-by: Chunmei Xu --- ruby.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ruby.spec b/ruby.spec index 2ab06f7..f83c45a 100644 --- a/ruby.spec +++ b/ruby.spec @@ -1,6 +1,6 @@ # PLEASE ALWAYS bump release even when upgrading version, as this package is # producing rubygem packages with different versions other than main package. -%define anolis_release 3 +%define anolis_release 4 %global major_version 3 %global minor_version 1 %global teeny_version 3 @@ -75,7 +75,6 @@ %bcond_with bundler_tests # The additional linker flags break binary rubygem- packages. -# https://bugzilla.redhat.com/show_bug.cgi?id=2043092 %undefine _package_note_flags Summary: An interpreter of object-oriented scripting language @@ -136,8 +135,6 @@ Patch4: ruby-2.1.0-custom-rubygems-location.patch Patch6: ruby-2.7.0-Initialize-ABRT-hook.patch # Prevent segfaults running with SystemTap due to `RubyVM::FrozenCore` being # corrupted by GC. -# https://bugzilla.redhat.com/show_bug.cgi?id=2015441 -# https://bugzilla.redhat.com/show_bug.cgi?id=1986206 # https://bugs.ruby-lang.org/issues/18257 Patch7: ruby-3.1.0-Don-t-query-RubyVM-FrozenCore-for-class-path.patch # Avoid possible timeout errors in TestBugReporter#test_bug_reporter_add. @@ -226,9 +223,9 @@ Requires: %{name} = %{version}-%{release} # This would not be needed if ~50 packages depending on -devel used # --disable-gems Requires: rubygems -# Users need CFLAGS from /usr/lib/rpm/redhat/redhat-hardened-cc1 -# for building gems with binary extensions (rhbz#1905222). -Recommends: redhat-rpm-config +# Users need CFLAGS from system-rpm-config +# for building gems with binary extensions. +Recommends: system-rpm-config %description devel Header files and libraries for building an extension library for the @@ -967,7 +964,6 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/TestReadline#test_interrupt_in_other_thread/" # Several test broken by libffi-3.4.2. There should be fix in libffi, once # other components are fixed. -# https://bugzilla.redhat.com/show_bug.cgi?id=2040380 mv test/fiddle/test_import.rb{,.disable} mv test/fiddle/test_closure.rb{,.disable} DISABLE_TESTS="$DISABLE_TESTS -n !/Fiddle::TestFunc#test_qsort1/" @@ -1525,6 +1521,9 @@ DISABLE_TESTS="$DISABLE_TESTS -n !/Fiddle::TestFunction#test_argument_count/" %changelog +* Thu Mar 9 2023 Chunmei Xu - 3.1.3-4 +- use system-rpm-config as Requires + * Thu Feb 9 2023 Funda Wang - 3.1.3-3 - New version 3.1.3 -- Gitee