From e488b0ba3664a6543f989bf7d44d1446a5cf7a5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Fri, 21 Oct 2016 16:48:42 +0200 Subject: [PATCH] Harden package. --- ruby.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ruby.spec b/ruby.spec index 3f19c87..d4a03ab 100644 --- a/ruby.spec +++ b/ruby.spec @@ -510,6 +510,10 @@ cp -a %{SOURCE6} . %build autoconf +# Ruby does not respec LDFLAGS :( +# https://bugs.ruby-lang.org/issues/11863 +export EXTLDFLAGS="%{__global_ldflags}" + %configure \ --with-rubylibprefix='%{ruby_libdir}' \ --with-archlibdir='%{_libdir}' \ @@ -1003,6 +1007,7 @@ make check TESTS="-v $DISABLE_TESTS" - Move gemified openssl into subpackage. - Make symlinks for json gem. - Tk is removed from stdlib. +- Harden package. * Mon May 23 2016 Vít Ondruch - 2.3.1-56 - Requires rubygem(json) for rubygem-rdoc (rhbz#1325022).