SHA256
1
0
forked from pool/graphviz

Accepting request 180614 from graphics

- use %rb_ver to decide correct ruby version (forwarded request 180559 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/180614
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/graphviz?expand=0&rev=58
This commit is contained in:
Stephan Kulow 2013-06-24 07:29:15 +00:00 committed by Git OBS Bridge
commit 6af8a428c8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri May 31 08:08:44 UTC 2013 - mhrusecky@suse.com
- use %rb_ver to decide correct ruby version
-------------------------------------------------------------------
Thu Mar 28 11:51:09 CET 2013 - pth@suse.de

View File

@ -283,7 +283,7 @@ CFLAGS="%{optflags} $WARN_FLAGS"
CFLAGS="$CFLAGS -ffast-math"
%endif
%if %suse_version > 1210
rubyflags=$(pkg-config --cflags ruby-1.9)
rubyflags=$(pkg-config --cflags ruby-$(echo %rb_ver | sed 's|\.[^.]*$||'))
CFLAGS="$CFLAGS $rubyflags"
CXXFLAGS="$CXXFLAGS $rubyflags"
%endif