Rebuilt for Ruby 1.9.3.

This commit is contained in:
Vít Ondruch 2012-02-07 10:20:13 +01:00
parent 71993b9be1
commit 2e4e8015cf
1 changed files with 9 additions and 9 deletions

View File

@ -1,13 +1,10 @@
%{!?ruby_sitelib: %define ruby_sitelib %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')}
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
%define rubyabi 1.8
%define rubyabi 1.9.1
%define realname ncurses-ruby
%define distname ruby-ncurses
Name: %distname
Version: 1.3.1
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A module for ruby applications for using ncurses interfaces
Group: System Environment/Libraries
License: LGPLv2+
@ -32,7 +29,7 @@ of the C library ncurses accessible from the Ruby programming language.
find examples/ -type f | xargs %{__chmod} 0644
%build
ruby extconf.rb
ruby extconf.rb --vendor
%{__make} %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fPIC"
%install
@ -48,11 +45,14 @@ ruby extconf.rb
%defattr(-,root,root,-)
%doc README COPYING VERSION THANKS Changes
%doc examples
%{ruby_sitearch}/ncurses_bin.so
%{ruby_sitelib}/ncurses.rb
%{ruby_sitelib}/ncurses_sugar.rb
%{ruby_vendorarchdir}/ncurses_bin.so
%{ruby_vendorlibdir}/ncurses.rb
%{ruby_vendorlibdir}/ncurses_sugar.rb
%changelog
* Tue Feb 07 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.1-3
- Rebuilt for Ruby 1.9.3.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild