Hello community, here is the log from the commit of package ruby2.6 for openSUSE:Factory checked in at 2019-03-28 22:46:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ruby2.6 (Old) and /work/SRC/openSUSE:Factory/.ruby2.6.new.25356 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ruby2.6" Thu Mar 28 22:46:27 2019 rev:4 rq:689157 version:2.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ruby2.6/ruby2.6.changes 2019-03-01 20:29:38.482008160 +0100 +++ /work/SRC/openSUSE:Factory/.ruby2.6.new.25356/ruby2.6.changes 2019-03-28 22:46:35.815075774 +0100 @@ -1,0 +2,13 @@ +Wed Mar 27 17:11:10 UTC 2019 - Marcus Rueckert <[email protected]> + +- for some reason the --enable-pie option does not work as + expected. Fix this for now with a patch that just injects the + -pie flag in the Makefile (adds use-pie.patch) (boo#1130028) + +------------------------------------------------------------------- +Fri Mar 15 15:34:15 UTC 2019 - Marcus Rueckert <[email protected]> + +- update to 2.6.2 + https://www.ruby-lang.org/en/news/2019/03/13/ruby-2-6-2-released/ + +------------------------------------------------------------------- Old: ---- ruby-2.6.1.tar.xz New: ---- ruby-2.6.2.tar.xz series use-pie.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ruby2.6.spec ++++++ --- /var/tmp/diff_new_pack.4GVVyh/_old 2019-03-28 22:46:36.559075660 +0100 +++ /var/tmp/diff_new_pack.4GVVyh/_new 2019-03-28 22:46:36.563075660 +0100 @@ -25,9 +25,9 @@ #### %define patch_level p0 -Version: 2.6.1 +Version: 2.6.2 Release: 0 -%define pkg_version 2.6.1 +%define pkg_version 2.6.2 # make the exported API version explicit %define api_version 2.6.0 %define rb_binary_suffix .ruby2.6 @@ -78,7 +78,9 @@ # Source3: %{name}.macros Source4: %{name}-default.macros +Source98: series Source99: %{name}-rpmlintrc +Patch: use-pie.patch # BuildRequires: ruby-bundled-gems-rpmhelper @@ -287,6 +289,7 @@ %prep %setup -q -n ruby-%{pkg_version} #setup -q -n snapshot +%patch -p1 find sample -type f -print0 | xargs -r0 chmod a-x grep -Erl '^#! */' benchmark bootstraptest ext lib sample test \ | xargs -r perl -p -i -e 's|^#!\s*\S+(\s+.*)?$|#!/usr/bin/ruby%{rb_binary_suffix} $1|' @@ -302,7 +305,6 @@ export LD="ld.gold" %endif export CFLAGS="%{optflags} -fno-strict-aliasing -std=gnu99" -autoconf %configure \ %if %{with jemalloc} --with-jemalloc \ ++++++ ruby-2.6.1.tar.xz -> ruby-2.6.2.tar.xz ++++++ /work/SRC/openSUSE:Factory/ruby2.6/ruby-2.6.1.tar.xz /work/SRC/openSUSE:Factory/.ruby2.6.new.25356/ruby-2.6.2.tar.xz differ: char 26, line 1 ++++++ series ++++++ use-pie.patch ++++++ use-pie.patch ++++++ Index: ruby-2.6.2/Makefile.in =================================================================== --- ruby-2.6.2.orig/Makefile.in +++ ruby-2.6.2/Makefile.in @@ -268,7 +268,7 @@ miniruby$(EXEEXT): $(PROGRAM): @$(RM) $@ $(ECHO) linking $@ - $(Q) $(PURIFY) $(CC) $(LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(MAINLIBS) $(LIBS) $(EXTLIBS) $(OUTFLAG)$@ + $(Q) $(PURIFY) $(CC) -pie $(LDFLAGS) $(XLDFLAGS) $(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(MAINLIBS) $(LIBS) $(EXTLIBS) $(OUTFLAG)$@ $(Q) $(POSTLINK) PRE_LIBRUBY_UPDATE = [ -n "$(LIBRUBY_SO_UPDATE)" ] || $(exec) $(RM) $(LIBRUBY_EXTS)
