From 87d17f048eb05ee2b84123537e34fd32141ad9ad Mon Sep 17 00:00:00 2001 From: Mamoru Tasaka Date: Sun, 20 Nov 2011 02:01:00 +0900 Subject: [PATCH] F-17: kill gdbm support for now due to licensing compatibility issue --- ruby.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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@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 - 1.8.7.352-3 +- F-17: kill gdbm support for now due to licensing compatibility issue + * Sat Oct 1 2011 Mamoru Tasaka - 1.8.7.352-2 - F-17: rebuild against new gdbm