Temporary disable checksec on PPC64LE (rhbz#1479302).
This commit is contained in:
parent
30f6c6490e
commit
ad2b787fea
@ -694,9 +694,17 @@ sed -i 's/^/%doc /' .ruby-doc.*
|
|||||||
sed -i 's/^/%lang(ja) /' .ruby-doc.ja
|
sed -i 's/^/%lang(ja) /' .ruby-doc.ja
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
# Temporary change the hardening check on PPC64LE as long as the checksec is
|
||||||
|
# is providing incorrect output.
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1479302
|
||||||
|
%ifnarch ppc64le
|
||||||
# Check Ruby hardening.
|
# Check Ruby hardening.
|
||||||
checksec -f libruby.so.%{ruby_version} | \
|
checksec -f libruby.so.%{ruby_version} | \
|
||||||
grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No RUNPATH.*Yes.*\d*.*\d*.*libruby.so.%{ruby_version}"
|
grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No RUNPATH.*Yes.*\d*.*\d*.*libruby.so.%{ruby_version}"
|
||||||
|
%else
|
||||||
|
checksec -f libruby.so.%{ruby_version} | \
|
||||||
|
grep "Full RELRO.*Canary found.*NX enabled.*DSO.*No RPATH.*No RUNPATH.*No.*\d*.*\d*.*libruby.so.%{ruby_version}"
|
||||||
|
%endif
|
||||||
|
|
||||||
# Check RubyGems version correctness.
|
# Check RubyGems version correctness.
|
||||||
[ "`make runruby TESTRUN_SCRIPT='bin/gem -v' | tail -1`" == '%{rubygems_version}' ]
|
[ "`make runruby TESTRUN_SCRIPT='bin/gem -v' | tail -1`" == '%{rubygems_version}' ]
|
||||||
@ -1032,6 +1040,7 @@ make check TESTS="-v $DISABLE_TESTS"
|
|||||||
%changelog
|
%changelog
|
||||||
* Fri Aug 11 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.1-83
|
* Fri Aug 11 2017 Vít Ondruch <vondruch@redhat.com> - 2.4.1-83
|
||||||
- Fix "IOError: stream closed" errors affecting Puma.
|
- Fix "IOError: stream closed" errors affecting Puma.
|
||||||
|
- Temporary disable checksec on PPC64LE (rhbz#1479302).
|
||||||
|
|
||||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-82
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-82
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user