From 33731c3ae47e14ceea0e8eac6ef48a250ac1522e Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Wed, 24 Jul 2024 09:52:48 +0300 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 55f2cf5..14525c6 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: 12%{?dist} +Release: 12.0.riscv64%{?dist} # Licenses, which are likely not included in binary RPMs: # Apache-2.0: # benchmark/gc/redblack.rb @@ -961,6 +961,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/" | \ @@ -1715,6 +1716,9 @@ make -C %{_vpath_builddir} runruby TESTRUN_SCRIPT=" \ %changelog +* Wed Jul 24 2024 David Abdurachmanov +- Add riscv64 information for checksec + * Fri Jul 19 2024 Fedora Release Engineering - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild