-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sergio Rubio
committed
May 6, 2011
1 parent
28a2c9b
commit 45b1d09
Showing
2 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
%define rubyver 1.9.2 | ||
%define rubyminorver p0 | ||
%define rubyminorver p180 | ||
|
||
Name: ruby19 | ||
Version: %{rubyver}%{rubyminorver} | ||
Release: 3%{?dist} | ||
License: Ruby License/GPL - see COPYING | ||
URL: http://www.ruby-lang.org/ | ||
Provides: ruby(abi) = 1.9 | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
BuildRequires: readline readline-devel ncurses ncurses-devel gdbm gdbm-devel glibc-devel tcl-devel gcc unzip openssl-devel db4-devel byacc | ||
Source0: ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{rubyver}-%{rubyminorver}.tar.gz | ||
|
@@ -37,11 +38,8 @@ rm -rf $RPM_BUILD_ROOT | |
|
||
# installing binaries ... | ||
make install DESTDIR=$RPM_BUILD_ROOT | ||
rm -rf $RPM_BUILD_ROOT/usr/lib/ | ||
rm -rf $RPM_BUILD_ROOT/usr/share/doc/ruby | ||
rm -rf $RPM_BUILD_ROOT/usr/src | ||
rm -f $RPM_BUILD_ROOT/usr/lib64/libruby-static.a | ||
rm -f $RPM_BUILD_ROOT/usr/lib64/libruby.so | ||
rm -f $RPM_BUILD_ROOT%{_libdir}/libruby-static.a | ||
rm -f $RPM_BUILD_ROOT%{_libdir}/libruby.so | ||
|
||
|
||
%clean | ||
|
@@ -52,10 +50,19 @@ rm -rf $RPM_BUILD_ROOT | |
%doc README COPYING ChangeLog LEGAL ToDo | ||
%{_bindir} | ||
%{_includedir} | ||
%{_prefix}/lib64/ | ||
%{_libdir} | ||
%{_prefix}/share/ | ||
|
||
%changelog | ||
* Fri May 06 2011 Sergio Rubio <[email protected]> - 1.9.2p180-3 | ||
- fixed i386 build | ||
|
||
* Thu May 05 2011 Sergio Rubio <[email protected]> - 1.9.2p180-2 | ||
- fix i386 build | ||
|
||
* Fri Feb 18 2011 Sergio Rubio <[email protected]> - 1.9.2p180-1 | ||
- updated to 1.9.2p180 | ||
|
||
* Sun Dec 19 2010 Sergio Rubio <[email protected]> - 1.9.2p0-3 | ||
- Disable X11 support | ||
- Disable tk support | ||
|