From 0779972f1ed61f07f7c2b2d3513acb52c5748442 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 20 Nov 2024 12:27:47 +0200 Subject: [PATCH] Add riscv64 information for checksec Signed-off-by: David Abdurachmanov --- ruby.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ruby.spec b/ruby.spec index 0453b53..167870a 100644 --- a/ruby.spec +++ b/ruby.spec @@ -173,7 +173,7 @@ Summary: An interpreter of object-oriented scripting language Name: ruby Version: %{ruby_version}%{?development_release} -Release: 16%{?dist} +Release: 16.0.riscv64%{?dist} # Licenses, which are likely not included in binary RPMs: # Apache-2.0: # benchmark/gc/redblack.rb @@ -968,6 +968,7 @@ sed -i 's/^/%lang(ja) /' .ruby-doc.ja %define fortification_aarch64 fortified="10" fortify-able="26" %define fortification_ppc64le fortified="7" fortify-able="24" %define fortification_s390x fortified="10" fortify-able="24" +%define fortification_riscv64 fortified="10" fortify-able="26" # https://unix.stackexchange.com/questions/366/convince-grep-to-output-all-lines-not-just-those-with-matches checksec --format=xml --file=%{_vpath_builddir}/libruby.so.%{ruby_version} | \ sed -r "s//\1/" | \ @@ -1755,6 +1756,9 @@ make -C %{_vpath_builddir} runruby TESTRUN_SCRIPT=" \ %changelog +* Wed Nov 20 2024 David Abdurachmanov - 3.3.5-16.0.riscv64 +- Add riscv64 information for checksec + * Mon Nov 11 2024 Vít Ondruch - 3.3.5-16 - Upgrade to Ruby 3.3.6.