[packages/ruby] check rdoc version
glen
glen at pld-linux.org
Wed Mar 19 17:25:34 CET 2014
commit 593ae364d39a2d36fcc4cbbcd932a3c8b394f6d3
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Mar 19 18:21:31 2014 +0200
check rdoc version
ruby.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/ruby.spec b/ruby.spec
index ed2faab..5da5092 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -437,6 +437,11 @@ if [ $rubygems_ver != %{rubygems_ver} ]; then
echo "Set %%define rubygems_ver to $rubygems_ver and re-run."
exit 1
fi
+rdoc_ver=$(awk '/VERSION =/ && $1 == "VERSION" {print $3}' lib/rdoc.rb | xargs)
+if [ $rdoc_ver != %{rdoc_ver} ]; then
+ echo "Set %%define rdoc_ver to $rdoc_ver and re-run."
+ exit 1
+fi
cp -f /usr/share/automake/config.sub .
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/8f46e138ae2a74e5e9e3b42fc10cb8c31c15770a
More information about the pld-cvs-commit
mailing list