diff --git a/rrdtool.changes b/rrdtool.changes index 548b7f6..7d38fb2 100644 --- a/rrdtool.changes +++ b/rrdtool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 16 13:54:25 UTC 2013 - vdziewiecki@suse.com + +-Fix build failure: make looks for ruby.h in wrong place. + ------------------------------------------------------------------- Fri Apr 5 12:35:29 UTC 2013 - idonmez@suse.com diff --git a/rrdtool.spec b/rrdtool.spec index d737e27..e2eb438 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -105,6 +105,9 @@ if [ ! -d m4 ]; then mkdir m4; fi %if %{_lib}==lib64 # don't pass -i to autoreconf, that'll run autopoint which will go # nuts because of the supposedly outdated gettext version: +# ugly hack to fix build failure, when make looks for ruby.h in a wrong place: +mkdir -p %{buildroot}/usr/include +cp -R /usr/include/ruby-2.0.0 %{buildroot}/usr/include/ autoreconf -fv %endif export LDFLAGS="-L`pwd`/lb/lib" CPPFLAGS="-I`pwd`/lb/include" \