[fedora-arm] [PATCH] ruby: Incase of gnueabi, pick the correct directory
Lennert Buytenhek
buytenh at wantstofly.org
Mon Jan 5 09:37:13 UTC 2009
On Mon, Jan 05, 2009 at 11:02:00AM +0530, Kedar Sovani wrote:
> diff --git a/ruby.spec b/ruby.spec
> index 2206c3b..de1c233 100644
> --- a/ruby.spec
> +++ b/ruby.spec
> @@ -12,7 +12,7 @@
>
> Name: ruby
> Version: %{rubyver}%{?dotpatchlevel}
> -Release: 2%{?dist}
> +Release: 2%{?dist}.fa1
> License: Ruby or GPLv2
> URL: http://www.ruby-lang.org/
> BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> @@ -378,8 +378,12 @@ rm -rf tmp-ruby-docs
> %dir %{_prefix}/lib/ruby
> %dir %{_prefix}/lib/ruby/%{rubyxver}
> %ifnarch ppc64 s390x sparc64 x86_64
> +%if "%{_gnu}" == "-gnueabi"
> +%dir %{_prefix}/lib/ruby/%{rubyxver}/%{_normalized_cpu}-%{_target_os}-eabi
> +%else
> %dir %{_prefix}/lib/ruby/%{rubyxver}/%{_normalized_cpu}-%{_target_os}
> %endif
> +%endif
Looks OK, I suppose. Submit this to bugzilla?
More information about the arm
mailing list