[packages/ruby] - reverted version patch to use RUBY_LIB_VERSION_STYLE=2 (minor) - dropped rubygems patch (harmful n

qboosh qboosh at pld-linux.org
Fri Feb 7 21:11:21 CET 2020


commit 221b7043f915a79eb2567cfa310a7b57ccbbf3cd
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Feb 7 21:11:41 2020 +0100

    - reverted version patch to use RUBY_LIB_VERSION_STYLE=2 (minor)
    - dropped rubygems patch (harmful now, causes requires cycle)

 ruby-version.patch |  2 +-
 ruby.spec          |  2 --
 rubygems.patch     | 11 -----------
 3 files changed, 1 insertion(+), 14 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index dff9eb2..af82f99 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -53,7 +53,6 @@ Source54:	http://www.unicode.org/Public/9.0.0/ucd/UnicodeData.txt
 Source4:	rdoc.1
 Source5:	testrb.1
 Source6:	operating_system.rb
-Patch1:		rubygems.patch
 Patch2:		fix-bison-invocation.patch
 Patch3:		mkmf-verbose.patch
 Patch4:		strip-ccache.patch
@@ -670,7 +669,6 @@ wywołującego je. Aby to osiągnąć wystarczy bardzo mało kodu.
 
 %prep
 %setup -q -n %{oname}-%{pkg_version} -a2 -a3
-%patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
diff --git a/ruby-version.patch b/ruby-version.patch
index a74fb74..43ed045 100644
--- a/ruby-version.patch
+++ b/ruby-version.patch
@@ -58,7 +58,7 @@ index 8ea969412f..a00f2b6776 100644
 -], [
 -    RUBY_LIB_VERSION="${ruby_version}"
 -])
-+RUBY_LIB_VERSION_STYLE='3	/* full */'
++RUBY_LIB_VERSION_STYLE='2	/* minor */'
 +{
 +echo "#define RUBY_LIB_VERSION_STYLE $RUBY_LIB_VERSION_STYLE"
 +echo '#define STRINGIZE(x) x'
diff --git a/rubygems.patch b/rubygems.patch
deleted file mode 100644
index 7d6ab9b..0000000
--- a/rubygems.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ruby-2.4.4/lib/rubygems/exceptions.rb~	2018-11-03 22:58:19.872127348 +0200
-+++ ruby-2.4.4/lib/rubygems/exceptions.rb	2018-11-03 21:39:23.000000000 +0200
-@@ -4,6 +4,8 @@
- # Each exception needs a brief description and the scenarios where it is
- # likely to be raised
- 
-+require 'rubygems'
-+
- ##
- # Base exception class for RubyGems.  All exception raised by RubyGems are a
- # subclass of this one.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ruby.git/commitdiff/221b7043f915a79eb2567cfa310a7b57ccbbf3cd



More information about the pld-cvs-commit mailing list