[packages/ruby] - don't add empty patchlevel to ruby_version - rel 3

baggins baggins at pld-linux.org
Tue Oct 24 00:00:28 CEST 2017


commit c846f214d144210696f858e5955032c0ed58bb43
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Oct 24 00:00:00 2017 +0200

    - don't add empty patchlevel to ruby_version
    - rel 3

 ruby-version.patch | 2 +-
 ruby.spec          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ruby.spec b/ruby.spec
index b193af2..1084a9a 100644
--- a/ruby.spec
+++ b/ruby.spec
@@ -11,7 +11,7 @@
 %bcond_with	bootstrap	# build bootstrap version
 %bcond_with	tests		# build without tests
 
-%define		rel		2
+%define		rel		3
 %define		ruby_version	2.3
 %define		patchlevel	5
 %define		pkg_version	%{ruby_version}.%{patchlevel}
diff --git a/ruby-version.patch b/ruby-version.patch
index 96d7249..bd35ca6 100644
--- a/ruby-version.patch
+++ b/ruby-version.patch
@@ -60,7 +60,7 @@ index db37cd6..6e73fae 100644
 -else
 -    RUBY_LIB_VERSION="${ruby_version}"
 -fi
-+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'
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list