From f53727dd1bf969c092e354804689b7e703aaba6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ondruch?= Date: Tue, 9 Jan 2018 15:06:35 +0100 Subject: [PATCH] Re-enable rdoc generation. --- rubygem-ffi.spec | 35 ++++------------------------------- 1 file changed, 4 insertions(+), 31 deletions(-) diff --git a/rubygem-ffi.spec b/rubygem-ffi.spec index a186109..5b0376d 100644 --- a/rubygem-ffi.spec +++ b/rubygem-ffi.spec @@ -2,7 +2,7 @@ Name: rubygem-%{gem_name} Version: 1.9.18 -Release: 4%{?dist} +Release: 5%{?dist} Summary: FFI Extensions for Ruby Group: Development/Languages @@ -43,36 +43,6 @@ gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec # Create the gem as gem install only works on a gem file gem build %{gem_name}.gemspec -# FIXME (2018/01/05) -# With ruby25, rdoc generation segfaults. Disabling for now. -rm -rf BINDIR -mkdir BINDIR -cat > BINDIR/gem << EOF -#! /bin/bash - -args= -while [ \$# -ge 1 ] -do - arg_o="\$1" - case "\$arg_o" in - --document=* ) - arg="--document=ri" - ;; - * ) - arg="\$arg_o" - ;; - esac - args="\$args \$arg" - shift -done - -set -x -exec /usr/bin/gem \$args -EOF - -chmod 0755 BINDIR/gem -export PATH="$(pwd)/BINDIR:$PATH" - %gem_install %install @@ -122,6 +92,9 @@ popd %{gem_instdir}/Rakefile %changelog +* Tue Jan 09 2018 Vít Ondruch - 1.9.18-5 +- Re-enable rdoc generation. + * Fri Jan 05 2018 Mamoru TASAKA - 1.9.18-4 - F-28: rebuild for ruby25 - Disabling rdoc generation for now to avoid segfault