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