git://scientific.zcu.cz
/
rubygem-passenger-packaging.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c53400
)
Moar mizuho text files preprocessing.
author
František Dvořák
<valtri@civ.zcu.cz>
Sun, 29 Jun 2014 21:13:05 +0000
(23:13 +0200)
committer
František Dvořák
<valtri@civ.zcu.cz>
Sun, 29 Jun 2014 21:13:05 +0000
(23:13 +0200)
rubygem-passenger.spec
patch
|
blob
|
blame
|
history
diff --git
a/rubygem-passenger.spec
b/rubygem-passenger.spec
index
36a2f77
..
fb99993
100644
(file)
--- 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