Browse Source

add patch to fix build failure of ree-1.8.7-2012.02

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6983 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 11 years ago
parent
commit
6c04d41f34
1 changed files with 10 additions and 1 deletions
  1. 10 1
      r/ruby-build/ruby-build-vl.spec

+ 10 - 1
r/ruby-build/ruby-build-vl.spec

@@ -5,11 +5,14 @@ SUmmary(ja): ruby をコンパイルしてインストールするrbenvプラグ
 
 Name: ruby-build
 Version: 0.0.%{gitdate}
-Release: 1%{?_dist_release}
+Release: 2%{?_dist_release}
 License: MIT
 Group: Development/Tools
 URL: https://github.com/sstephenson/ruby-build
 Source0: %{name}-%{version}.tar.xz
+Source10: ree-1.8.7-build.patch
+
+Patch1: ruby-build-ree-build-fix.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch: noarch
@@ -26,12 +29,15 @@ where you need precise control over Ruby version installation.
 
 %prep
 %setup -q
+%patch1 -p1
 
 %build
 
 %install
 rm -rf %{buildroot}
 PREFIX=%{buildroot}%{_prefix} ./install.sh
+mkdir -p %{buildroot}%{_datadir}/%{name}/patches
+cp %{SOURCE10} %{buildroot}%{_datadir}/%{name}/patches/
 
 %clean
 rm -rf %{buildroot}
@@ -44,6 +50,9 @@ rm -rf %{buildroot}
 %{_datadir}/ruby-build
 
 %changelog
+* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-2
+- add patch1, source10 to fix build failure of ree-1.8.7-2012.02
+
 * Tue Oct 23 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-1
 - update to upstream git master