packages: redmine/redmine.spec - work around ruby 1.9.3 anal retentiveness
baggins
baggins at pld-linux.org
Fri Dec 9 22:44:44 CET 2011
Author: baggins Date: Fri Dec 9 21:44:44 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- work around ruby 1.9.3 anal retentiveness
---- Files affected:
packages/redmine:
redmine.spec (1.49 -> 1.50)
---- Diffs:
================================================================
Index: packages/redmine/redmine.spec
diff -u packages/redmine/redmine.spec:1.49 packages/redmine/redmine.spec:1.50
--- packages/redmine/redmine.spec:1.49 Fri Dec 9 14:43:59 2011
+++ packages/redmine/redmine.spec Fri Dec 9 22:44:39 2011
@@ -129,6 +129,11 @@
%patch7 -p1
%patch8 -p1
+# ruby 1.9.3 became very strict about escaping
+%{__sed} -i -e 's/\([^\]\+\):\\\([^\]\+\)/\1:\\\\\2/g' \
+ -e 's/^\([^:]\+:\s*\)\([^"'']*\)%\(.*\)$/\1"\2%\3"/g' \
+ config/locales/*.yml
+
find -type f -print0 | \
xargs -0 %{__sed} -i -e 's,/usr/bin/env ruby,%{__ruby},' \
-e 's,/usr/local/bin/ruby,%{__ruby},'
@@ -285,6 +290,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.50 2011/12/09 21:44:39 baggins
+- work around ruby 1.9.3 anal retentiveness
+
Revision 1.49 2011/12/09 13:43:59 baggins
- added TODO
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/redmine/redmine.spec?r1=1.49&r2=1.50&f=u
More information about the pld-cvs-commit
mailing list