[ruby-ncurses] Workaround bug 921650 and fix build with ruby 2.0.
Šimon Lukašík
isimluk at fedoraproject.org
Fri Mar 15 14:32:10 UTC 2013
commit a722321f3e44a8d109d663667c234b7c9ea19156
Author: Simon Lukasik <slukasik at redhat.com>
Date: Fri Mar 15 15:14:05 2013 +0100
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'.
ruby-ncurses.spec | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ruby-ncurses.spec b/ruby-ncurses.spec
index 4e19e69..491cbdc 100644
--- a/ruby-ncurses.spec
+++ b/ruby-ncurses.spec
@@ -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 at redhat.com> - 1.3.1-8
+- Workaround ruby 2.0 build bug 921650.
+
* Thu Mar 14 2013 Simon Lukasik <slukasik at redhat.com> - 1.3.1-7
- Avoid using deprecated macro STR2CSTR (#822814)
More information about the scm-commits
mailing list