forked from pool/graphviz
Accepting request 180559 from home:Andreas_Schwab:Factory
- use %rb_ver to decide correct ruby version OBS-URL: https://build.opensuse.org/request/show/180559 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=57
This commit is contained in:
parent
2d00fd2ee3
commit
33055f46a0
@ -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