From d92f6f9d59594eb523bc25ea7288e86745557af5 Mon Sep 17 00:00:00 2001 From: Jarek Prokop Date: Thu, 10 Jun 2021 17:31:55 +0200 Subject: [PATCH] Fix FTBFS due to an incompatible load directive. The FTBFS has started to happen with rpm-4.16.90-0.git15395.2.fc35. The `%{?load:...}` is undocumented, and it was removed. https://github.com/rpm-software-management/rpm/issues/1669 Related: rhbz#1938942 --- ruby.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ruby.spec b/ruby.spec index ca5035e..7323008 100644 --- a/ruby.spec +++ b/ruby.spec @@ -113,8 +113,8 @@ Source14: test_systemtap.rb # The load directive is supported since RPM 4.12, i.e. F21+. The build process # fails on older Fedoras. -%{?load:%{SOURCE4}} -%{?load:%{SOURCE5}} +%{load:%{SOURCE4}} +%{load:%{SOURCE5}} # Fix ruby_version abuse. # https://bugs.ruby-lang.org/issues/11002 @@ -1359,6 +1359,7 @@ MSPECOPTS="" default gems to bundled gems. * Drop Net::Telnet and XMLRPC packages, because they were dropped from Ruby. Resolves: rhbz#1938942 +- Fix FTBFS due to an incompatible load directive. * Wed Apr 07 2021 Pavel Valena - 2.7.3-136 - Upgrade to Ruby 2.7.3.