Browse Source

ruby-build:
- move patches dir to .patches
- add source11 to fix build failure of ruby-1.8.7-*
- update patch1 to build all ruby/ree-1.8.7*

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6987 ec354946-7b23-47d6-9f5a-488ba84defc7

daisuke 11 years ago
parent
commit
5878c94cd7
1 changed files with 12 additions and 4 deletions
  1. 12 4
      r/ruby-build/ruby-build-vl.spec

+ 12 - 4
r/ruby-build/ruby-build-vl.spec

@@ -5,14 +5,15 @@ SUmmary(ja): ruby をコンパイルしてインストールするrbenvプラグ
 
 Name: ruby-build
 Version: 0.0.%{gitdate}
-Release: 2%{?_dist_release}
+Release: 3%{?_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
+Source11: ruby-1.8.7-build.patch
 
-Patch1: ruby-build-ree-build-fix.patch
+Patch1: ruby-build-1.8.7-build-fix.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildArch: noarch
@@ -36,8 +37,9 @@ where you need precise control over Ruby version installation.
 %install
 rm -rf %{buildroot}
 PREFIX=%{buildroot}%{_prefix} ./install.sh
-mkdir -p %{buildroot}%{_datadir}/%{name}/patches
-cp %{SOURCE10} %{buildroot}%{_datadir}/%{name}/patches/
+mkdir -p %{buildroot}%{_datadir}/%{name}/.patches
+cp %{SOURCE10} %{buildroot}%{_datadir}/%{name}/.patches/
+cp %{SOURCE11} %{buildroot}%{_datadir}/%{name}/.patches/
 
 %clean
 rm -rf %{buildroot}
@@ -47,9 +49,15 @@ rm -rf %{buildroot}
 %doc LICENSE README.md
 %{_bindir}/ruby-build
 %{_bindir}/rbenv-install
+%{_bindir}/rbenv-uninstall
 %{_datadir}/ruby-build
 
 %changelog
+* Wed Oct 24 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 0.0.20121023-3
+- move patches dir to .patches
+- add source11 to fix build failure of ruby-1.8.7-*
+- update patch1 to build all ruby/ree-1.8.7*
+
 * 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