Accepting request 176976 from multimedia:libs

- fix build with different versions of ruby (forwarded request 176945 from -miska-)

OBS-URL: https://build.opensuse.org/request/show/176976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libcaca?expand=0&rev=29
This commit is contained in:
Stephan Kulow 2013-06-05 11:28:36 +00:00 committed by Git OBS Bridge
commit 81891852d6
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 29 14:39:16 CEST 2013 - mhrusecky@suse.cz
- fix build with different versions of ruby
-------------------------------------------------------------------
Sun Mar 17 21:53:40 UTC 2013 - dmueller@suse.com

View File

@ -188,6 +188,8 @@ chmod 0644 %{S:0}
%patch9
%patch1
%patch10 -p1
RUBY="ruby-`echo %{rb_ver} | sed 's|\.[^\.]*$||'`"
find . -type f -exec sed -i "s|ruby-1.9|$RUBY|" \{\} \;
%build
autoreconf -fi