Created
August 22, 2010 09:05
-
-
Save ahpook/543555 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## These were the changes i had to make to the rawhide ruby-1.8.7-p299 to get a clean compile | |
| ## under RHEL -- I additionally had to rebuild autoconf-2.60 (and therefore m4-1.4.12 from F11) | |
| ## but those were clean rebuilds. The lack of a BuildRoot was particularly problematic. | |
| ## (original from http://mirrors.lax-noc.com/fedora/development/rawhide/source/SRPMS/ruby-1.8.7.299-5.fc15.src.rpm) | |
| --- ruby.spec.dist 2010-08-01 10:40:56.000000000 -0700 | |
| +++ ruby.spec 2010-08-22 02:02:08.000000000 -0700 | |
| @@ -16,12 +16,14 @@ | |
| Name: ruby | |
| Version: %{rubyver}%{?dotpatchlevel} | |
| -Release: 5%{?dist} | |
| +Release: 5%{?dist}.isse | |
| # Please check if ruby upstream changes this to "Ruby or GPLv2+" | |
| License: Ruby or GPLv2 | |
| URL: http://www.ruby-lang.org/ | |
| +BuildRoot: %{_tmppath}/%{name}-%{version}-root | |
| -BuildRequires: compat-readline5-devel | |
| +BuildRequires: readline-devel | |
| BuildRequires: db4-devel | |
| BuildRequires: gdbm-devel | |
| BuildRequires: libX11-devel | |
| @@ -118,7 +120,7 @@ | |
| Requires: %{name} = %{version}-%{release} | |
| Provides: irb = %{version}-%{release} | |
| Obsoletes: irb < %{version}-%{release} | |
| -BuildArch: noarch | |
| +BuildArch: x86_64 | |
| %description irb | |
| The irb is acronym for Interactive Ruby. It evaluates ruby expression | |
| @@ -207,8 +209,6 @@ | |
| --enable-shared \ | |
| --enable-pthread \ | |
| --disable-rpath \ | |
| - --with-readline-include=%{_includedir}/readline5 \ | |
| - --with-readline-lib=%{_libdir}/readline5 \ | |
| --with-sitedir='%{sitelibbase}' \ | |
| --with-sitearchdir='%{sitearchbase}' \ | |
| --with-vendordir='%{vendorlibbase}' \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment