Pass ldflags to gem install

The commit is a cherry-pick from Fedora rawhide 6b2ff68f33 .
The purpose is to synchronize with Fedora rawhide 63065e7db7 .

Related: rhbz#1968507
This commit is contained in:
Pavel Valena 2021-08-16 12:28:46 +02:00
parent 772e294b42
commit 5125f51ce9
2 changed files with 2 additions and 1 deletions

View File

@ -22,7 +22,7 @@
%gem_install(d:n:) \ %gem_install(d:n:) \
mkdir -p %{-d*}%{!?-d:.%{gem_dir}} \ mkdir -p %{-d*}%{!?-d:.%{gem_dir}} \
\ \
CONFIGURE_ARGS="--with-cflags='%{optflags}' --with-cxxflags='%{optflags}' $CONFIGURE_ARGS" \\\ CONFIGURE_ARGS="--with-cflags='%{optflags}' --with-cxxflags='%{optflags}' --with-ldflags='%{build_ldflags}' $CONFIGURE_ARGS" \\\
gem install \\\ gem install \\\
-V \\\ -V \\\
--local \\\ --local \\\

View File

@ -1433,6 +1433,7 @@ MSPECOPTS=""
- Fix dependencies of gems with explicit source installed from a - Fix dependencies of gems with explicit source installed from a
different source. different source.
Resolves: CVE-2020-36327 Resolves: CVE-2020-36327
- Pass ldflags to gem install via CONFIGURE_ARGS.
* Thu Aug 19 2021 Carlos O'Donell <codonell@redhat.com> - 3.0.1-153 * Thu Aug 19 2021 Carlos O'Donell <codonell@redhat.com> - 3.0.1-153
- Rebuilt for libffi 3.4.2 SONAME transition. - Rebuilt for libffi 3.4.2 SONAME transition.