From bcf31a24283cae6b18c1ba56d5113149415ddf86 Mon Sep 17 00:00:00 2001 From: Mamoru TASAKA Date: Thu, 11 Jan 2018 18:14:09 +0900 Subject: [PATCH] Enable rdoc generation again (fixed by ruby side) --- rubygem-http_parser.rb.spec | 35 ++++------------------------------- 1 file changed, 4 insertions(+), 31 deletions(-) diff --git a/rubygem-http_parser.rb.spec b/rubygem-http_parser.rb.spec index 3d9a340..a018b75 100644 --- a/rubygem-http_parser.rb.spec +++ b/rubygem-http_parser.rb.spec @@ -3,7 +3,7 @@ Name: rubygem-%{gem_name} Version: 0.6.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Simple callback-based HTTP request/response parser Group: Development/Languages License: MIT @@ -45,36 +45,6 @@ gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec 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" - export CONFIGURE_ARGS="--with-cflags='%{optflags}'" %gem_install @@ -128,6 +98,9 @@ popd %{gem_instdir}/tasks %changelog +* Thu Nov 11 2018 Mamoru TASAKA - 0.6.0-8 +- Enable rdoc generation again (fixed by ruby side) + * Fri Jan 05 2018 Mamoru TASAKA - 0.6.0-7 - F-28: rebuild for ruby25 - Disabling rdoc generation for now to avoid segfault