Moar mizuho text files preprocessing.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 29 Jun 2014 21:13:05 +0000 (23:13 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Sun, 29 Jun 2014 21:13:05 +0000 (23:13 +0200)
rubygem-passenger.spec

index 36a2f77..fb99993 100644 (file)
@@ -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