[packages/ruby-rcairo] - updated to 1.12.6; adjusted to use RbConfig instead of Config

qboosh qboosh at pld-linux.org
Tue Jun 4 17:09:05 CEST 2013


commit f3b744667b613507d88d107c345a6cd335a6167e
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jun 4 17:08:47 2013 +0200

    - updated to 1.12.6; adjusted to use RbConfig instead of Config

 ruby-rcairo.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/ruby-rcairo.spec b/ruby-rcairo.spec
index 3f296eb..4711055 100644
--- a/ruby-rcairo.spec
+++ b/ruby-rcairo.spec
@@ -2,12 +2,12 @@
 Summary:	Cairo module for Ruby
 Summary(pl.UTF-8):	Moduł Cairo dla języka Ruby
 Name:		ruby-%{pkgname}
-Version:	1.12.2
+Version:	1.12.6
 Release:	1
 License:	GPL or custom (see COPYING)
 Group:		Development/Languages
 Source0:	http://cairographics.org/releases/rcairo-%{version}.tar.gz
-# Source0-md5:	ab3c1cdc0296cd71469d6bd257296ce8
+# Source0-md5:	6e1771916e0c9c466261ba41d5212af3
 Patch0:		%{name}-hdr.patch
 URL:		http://cairographics.org/rcairo/
 BuildRequires:	cairo-devel >= 1.12.0
@@ -23,7 +23,7 @@ Obsoletes:	ruby-rcairo-gtkcairo
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # TODO: move this to rpm macros.build
-%define 	ruby_hdrdir	%(ruby -r rbconfig -e 'print Config::CONFIG["rubyhdrdir"]')
+%define 	ruby_hdrdir	%(%{__ruby} -r rbconfig -e 'print RbConfig::CONFIG["rubyhdrdir"]')
 
 %description
 Cairo module for Ruby.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby-rcairo.git/commitdiff/f3b744667b613507d88d107c345a6cd335a6167e



More information about the pld-cvs-commit mailing list