Workaround bug 921650 and fix build with ruby 2.0.

Addressing:
No rule to make target `/builddir/build/BUILDROOT/ruby-ncurses-1.3.1-7.fc20.x86_64/usr/include/ruby.h', needed by `ncurses_wrap.o'.
This commit is contained in:
Simon Lukasik 2013-03-15 15:14:05 +01:00
parent 2c80ec8385
commit a722321f3e
1 changed files with 5 additions and 2 deletions

View File

@ -4,7 +4,7 @@
Name: %distname
Version: 1.3.1
Release: 7%{?dist}
Release: 8%{?dist}
Summary: A module for ruby applications for using ncurses interfaces
Group: System Environment/Libraries
License: LGPLv2+
@ -36,7 +36,7 @@ ruby extconf.rb --vendor
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
%{__make} install DESTDIR=$RPM_BUILD_ROOT ruby_headers= INSTALL="%{__install} -p"
%check
@ -52,6 +52,9 @@ ruby extconf.rb --vendor
%{ruby_vendorlibdir}/ncurses_sugar.rb
%changelog
* Fri Mar 15 2013 Simon Lukasik <slukasik@redhat.com> - 1.3.1-8
- Workaround ruby 2.0 build bug 921650.
* Thu Mar 14 2013 Simon Lukasik <slukasik@redhat.com> - 1.3.1-7
- Avoid using deprecated macro STR2CSTR (#822814)