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:
commit
6af8a428c8
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user