[stfl/f17: 1/2] Rebuilt for Ruby 1.9.3.

Vít Ondruch vondruch at fedoraproject.org
Wed Feb 8 09:47:13 UTC 2012


commit ffb9453099aaf65da4e5353bc6614dc141fc138f
Author: Vít Ondruch <vondruch at redhat.com>
Date:   Wed Feb 8 10:46:20 2012 +0100

    Rebuilt for Ruby 1.9.3.

 stfl.spec |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/stfl.spec b/stfl.spec
index 1300a34..8e82505 100644
--- a/stfl.spec
+++ b/stfl.spec
@@ -1,10 +1,8 @@
 %{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%{!?ruby_sitearch: %global ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] ')}
-
 
 Name:		stfl
 Version:	0.21
-Release:	16%{?dist}
+Release:	17%{?dist}
 Summary:	The Structured Terminal Forms Language/Library
 
 Group:		System Environment/Libraries
@@ -59,7 +57,7 @@ Python binding for STFL.
 Summary:	Ruby binding for STFL
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	ruby(abi) = 1.8
+Requires:	ruby(abi) = 1.9.1
 
 %description	ruby
 Ruby binding for STFL.
@@ -96,6 +94,7 @@ export CFLAGS="%{optflags}"
 #make prefix=/usr libdir=%{_lib}
 #echo %ruby_sitearch
 #echo `ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"] '`
+sed -i 's|ruby extconf.rb|ruby extconf.rb --vendor|' ruby/Makefile.snippet
 
 %install
 rm -rf %{buildroot}
@@ -146,9 +145,12 @@ rm -rf %{buildroot}
 
 %files ruby
 %defattr(-,root,root,-)
-%{ruby_sitearch}/stfl.so
+%{ruby_vendorarchdir}/stfl.so
 
 %changelog
+* Wed Feb 08 2012 Bohuslav Kabrda <bkabrda at redhat.com> - 0.21-17
+- Rebuilt for Ruby 1.9.3.
+
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.21-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 


More information about the scm-commits mailing list