[ruby] F-17: kill gdbm support for now due to licensing compatibility issue

Mamoru Tasaka mtasaka at fedoraproject.org
Sat Nov 19 17:01:04 UTC 2011


commit 87d17f048eb05ee2b84123537e34fd32141ad9ad
Author: Mamoru Tasaka <tasaka1 at localhost.localdomain>
Date:   Sun Nov 20 02:01:00 2011 +0900

    F-17: kill gdbm support for now due to licensing compatibility issue

 ruby.spec |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index ab388e0..8afa4a1 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -17,14 +17,16 @@
 
 Name:		ruby
 Version:	%{rubyver}%{?dotpatchlevel}
-Release:	2%{?dist}
+Release:	3%{?dist}
 # Please check if ruby upstream changes this to "Ruby or GPLv2+"
 License:	Ruby or GPLv2
 URL:		http://www.ruby-lang.org/
 
 BuildRequires:	compat-readline5-devel
 BuildRequires:	db4-devel
+%if 0%{?fedora} < 17
 BuildRequires:	gdbm-devel
+%endif
 BuildRequires:	libX11-devel
 BuildRequires:	ncurses-devel
 BuildRequires:	openssl-devel
@@ -200,6 +202,11 @@ popd
 # when it is no longer needed.
 sed -i.redirect  -e '\@RUBY at s@\.rb >@\.rb | cat >@' %{name}-%{arcver}/ext/dl/depend
 
+# Disable gdbm support on F-17 for now
+%if 0%{?fedora} >= 17
+sed -i '\@dblib =@s|gdbm[^ ]*||g' ext/dbm/extconf.rb
+%endif
+
 
 %build
 pushd %{name}-%{arcver}
@@ -537,6 +544,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/ri
 
 %changelog
+* Thu Nov 16 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.8.7.352-3
+- F-17: kill gdbm support for now due to licensing compatibility issue
+
 * Sat Oct  1 2011 Mamoru Tasaka <mtasaka at fedoraproject.org> - 1.8.7.352-2
 - F-17: rebuild against new gdbm
 


More information about the scm-commits mailing list