From 77185da65bb8e4fc5660681645089339a563ede15193a70c8933a8cea54f9bd5 Mon Sep 17 00:00:00 2001 From: Factory Maintainer Date: Fri, 10 Jan 2014 20:38:07 +0000 Subject: [PATCH] Accepting request 213482 from openSUSE:Factory:Staging:Ruby21 - fix build for ruby 2.1 OBS-URL: https://build.opensuse.org/request/show/213482 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/rrdtool?expand=0&rev=52 --- rrdtool.changes | 5 +++++ rrdtool.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/rrdtool.changes b/rrdtool.changes index b85a11d..d855667 100644 --- a/rrdtool.changes +++ b/rrdtool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 9 13:21:12 UTC 2014 - jreidinger@suse.com + +- fix build for ruby 2.1 + ------------------------------------------------------------------- Mon Nov 18 11:33:36 UTC 2013 - vdziewiecki@suse.com diff --git a/rrdtool.spec b/rrdtool.spec index f2fbf93..3ff1ca9 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -1,7 +1,7 @@ # # spec file for package rrdtool # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -106,7 +106,7 @@ This package contains the Lua bindings %package -n ruby-rrdtool Summary: Ruby bindings for rrdtool Group: Productivity/Scientific/Math -Requires: ruby +Requires: ruby >= %{rb_ver} %description -n ruby-rrdtool A tool to log and analyze data gathered from all kinds of data sources. @@ -224,6 +224,7 @@ popd find "%{buildroot}" -type f -name '*.la' -exec %__rm {} \; # install ruby bindings pushd bindings/ruby +mkdir -p %{buildroot}/%{rb_sitearchdir} make DESTDIR=%{buildroot} install popd # documentation