[packages/ruby] adapter
glen
glen at pld-linux.org
Wed Jul 29 23:15:34 CEST 2015
commit 14b994820aca64aac2023ac8fabf8626de1a34c5
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Jul 30 00:14:52 2015 +0300
adapter
ruby.spec | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index c7b4b30..02fd5f1 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -48,6 +48,7 @@ Epoch: 1
# Public Domain for example for: include/ruby/st.h, strftime.c, ...
License: (Ruby or BSD) and Public Domain
Group: Development/Languages
+# https://www.ruby-lang.org/en/downloads/
Source0: https://ftp.ruby-lang.org/pub/ruby/2.0/%{oname}-%{basever}-p%{patchlevel}.tar.bz2
# Source0-md5: d576240c97cfcc3ed9bdc457eb1e8280
Source1: http://www.ruby-doc.org/download/%{oname}-doc-bundle.tar.gz
@@ -84,12 +85,16 @@ BuildRequires: openssl-devel
BuildRequires: pkgconfig
BuildRequires: readline-devel >= 4.2
BuildRequires: rpm-build >= 5.4.10-49
-# bootstrap needs ruby binary, erb module
-%{!?with_bootstrap:BuildRequires: rpm-rubyprov}
-%{!?with_bootstrap:BuildRequires: ruby-modules}
-%{!?with_bootstrap:BuildRequires: ruby}
BuildRequires: sed >= 4.0
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
BuildRequires: yaml-devel
+%if %{without bootstrap}
+# bootstrap needs ruby binary, erb module
+BuildRequires: rpm-rubyprov
+BuildRequires: ruby
+BuildRequires: ruby-modules
+%endif
%if %{with tk}
BuildRequires: tk-devel
%endif
@@ -317,9 +322,9 @@ Release: %{basever}.%{patchlevel}.%{rel}
Epoch: 0
License: GPL v2 and Ruby and MIT
Group: Development/Libraries
-Requires: %{name}-modules = 1:%{basever}.%{patchlevel}-%{rel}
Requires: %{name}-irb >= %{irb_ver}
Requires: %{name}-json >= %{json_ver}
+Requires: %{name}-modules = 1:%{basever}.%{patchlevel}-%{rel}
Obsoletes: rdoc <= 0.9.0
%if "%{_rpmversion}" >= "5"
BuildArch: noarch
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/14b994820aca64aac2023ac8fabf8626de1a34c5
More information about the pld-cvs-commit
mailing list