Add riscv64 information for checksec

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-11-20 12:27:47 +02:00
parent dea8119d10
commit 0779972f1e
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -173,7 +173,7 @@
Summary: An interpreter of object-oriented scripting language Summary: An interpreter of object-oriented scripting language
Name: ruby Name: ruby
Version: %{ruby_version}%{?development_release} Version: %{ruby_version}%{?development_release}
Release: 16%{?dist} Release: 16.0.riscv64%{?dist}
# Licenses, which are likely not included in binary RPMs: # Licenses, which are likely not included in binary RPMs:
# Apache-2.0: # Apache-2.0:
# benchmark/gc/redblack.rb # 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_aarch64 fortified="10" fortify-able="26"
%define fortification_ppc64le fortified="7" fortify-able="24" %define fortification_ppc64le fortified="7" fortify-able="24"
%define fortification_s390x fortified="10" 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 # 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} | \ checksec --format=xml --file=%{_vpath_builddir}/libruby.so.%{ruby_version} | \
sed -r "s/<file (.*)\/>/\1/" | \ sed -r "s/<file (.*)\/>/\1/" | \
@ -1755,6 +1756,9 @@ make -C %{_vpath_builddir} runruby TESTRUN_SCRIPT=" \
%changelog %changelog
* Wed Nov 20 2024 David Abdurachmanov <davidlt@rivosinc.com> - 3.3.5-16.0.riscv64
- Add riscv64 information for checksec
* Mon Nov 11 2024 Vít Ondruch <vondruch@redhat.com> - 3.3.5-16 * Mon Nov 11 2024 Vít Ondruch <vondruch@redhat.com> - 3.3.5-16
- Upgrade to Ruby 3.3.6. - Upgrade to Ruby 3.3.6.