Navigation Menu

Skip to content

Commit

Permalink
ugly hack to disable tk
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jul 11, 2014
1 parent 6324529 commit 4730786
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ruby.spec
Expand Up @@ -453,6 +453,9 @@ find -type f '(' -name '*.rb' -o -name '*.cgi' -o -name '*.test' \
-o -name 'ruby.1' -o -name '*.html' -o -name '*.tcl' ')' \
| xargs %{__sed} -i 's,/usr/local/bin/,%{_bindir}/,'

# no configure option to disable, so just rm
%{!?with_tk:rm -rf ext/tk}

%build
rubygems_ver=$(awk '/VERSION =/ && $1 == "VERSION" {print $3}' lib/rubygems.rb | xargs)
if [ $rubygems_ver != %{rubygems_ver} ]; then
Expand Down

0 comments on commit 4730786

Please sign in to comment.