Rebuilt for Ruby 1.9.3.

This commit is contained in:
Vít Ondruch 2012-02-08 10:46:20 +01:00
parent 986a89c051
commit ffb9453099
1 changed files with 7 additions and 5 deletions

View File

@ -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@redhat.com> - 0.21-17
- Rebuilt for Ruby 1.9.3.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild