diff --git a/rrdtool.changes b/rrdtool.changes index 7d38fb2..569eba8 100644 --- a/rrdtool.changes +++ b/rrdtool.changes @@ -1,7 +1,12 @@ +------------------------------------------------------------------- +Wed May 29 11:07:08 UTC 2013 - mhrusecky@suse.com + +- Fix the hack from previous entry to work everywhere + ------------------------------------------------------------------- Thu May 16 13:54:25 UTC 2013 - vdziewiecki@suse.com --Fix build failure: make looks for ruby.h in wrong place. +- 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 e2eb438..f7232bd 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -105,11 +105,11 @@ 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 +# 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* %{buildroot}/usr/include/ || true export LDFLAGS="-L`pwd`/lb/lib" CPPFLAGS="-I`pwd`/lb/include" \ %configure --disable-static --with-pic --enable-shared \ --with-tcllib=%{_libdir} \