Accepting request 176934 from home:-miska-:branches:devel:languages:python

- Fix the hack from previous entry to work everywhere

OBS-URL: https://build.opensuse.org/request/show/176934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/rrdtool?expand=0&rev=38
This commit is contained in:
Sascha Peilicke 2013-06-05 09:04:09 +00:00 committed by Git OBS Bridge
parent b15d1463a0
commit 747f75d78e
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

@ -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} \