From 38ae5a6482f913d33aa003fd5916e5a9fd693f48 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 29 Jun 2014 23:13:05 +0200 Subject: [PATCH] Moar mizuho text files preprocessing. --- rubygem-passenger.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/rubygem-passenger.spec b/rubygem-passenger.spec index 36a2f77..fb99993 100644 --- a/rubygem-passenger.spec +++ b/rubygem-passenger.spec @@ -217,9 +217,13 @@ for script in `find . -type f ! -perm /a+x -name "*.rb"`; do [ ! -z "`head -n 1 $script | grep \"^#!/\"`" ] && chmod -v 755 $script done -# Incompatibility of nokogiri with asciidoc in EPEL 6 -# (dirty hack) -sed -i 's/\s*=\+$//' doc/*.txt +# Preprocess mizuho text files for older tools: +# - incompatibility of nokogiri with asciidoc in EPEL 6 +# - too old asciidoc +sed -i \ + -e 's/\s*=\+$//' \ + -e 's/^\[quote, \(.*\)\]/\1:/' \ + doc/*.txt %build -- 1.8.2.3