Hello community,

here is the log from the commit of package librep for openSUSE:Factory checked 
in at 2018-06-20 15:23:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librep (Old)
 and      /work/SRC/openSUSE:Factory/.librep.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "librep"

Wed Jun 20 15:23:47 2018 rev:11 rq:616835 version:0.92.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/librep/librep.changes    2015-06-23 
12:00:55.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.librep.new/librep.changes       2018-06-20 
15:24:01.614030662 +0200
@@ -1,0 +2,6 @@
+Wed Jun 13 14:09:47 UTC 2018 - [email protected]
+
+- stack-direction.patch: Make detection of stack direction more robust
+- Use %license for COPYING
+
+-------------------------------------------------------------------

New:
----
  stack-direction.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ librep.spec ++++++
--- /var/tmp/diff_new_pack.EdDYst/_old  2018-06-20 15:24:04.113939988 +0200
+++ /var/tmp/diff_new_pack.EdDYst/_new  2018-06-20 15:24:04.113939988 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package librep
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2007 John Harper <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -21,7 +21,7 @@
 Version:        0.92.5
 Release:        0
 Summary:        Implementation of rep, a lisp dialect
-License:        GPL-2.0+
+License:        GPL-2.0-or-later
 Group:          Development/Languages/Scheme
 Url:            http://sawfish.wikia.com/wiki/Librep
 Source:         http://download.tuxfamily.org/librep/%{name}_%{version}.tar.xz
@@ -49,6 +49,8 @@
 Patch2:         0001-string-to-number.patch
 # PATCH-FEATURE-OPENSUSE [email protected] remove builddate to prevent 
unnecessary builds
 Patch3:         librep-remove-build_date.patch
+# PATCH-FIX-UPSTREAM Make detection of stack direction more robust
+Patch4:         stack-direction.patch
 
 %description
 Librep is a shared library implementing a Lisp dialect that is
@@ -98,6 +100,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 export CFLAGS="%{optflags} -D_GNU_SOURCE -fno-strict-aliasing -fgnu89-inline"
@@ -133,7 +136,8 @@
 
 %files
 %defattr(-,root,root)
-%doc ChangeLog COPYING MAINTAINERS README TODO
+%license COPYING
+%doc ChangeLog MAINTAINERS README TODO
 %{_bindir}/rep
 %{_bindir}/rep-remote
 %doc %{_mandir}/man?/rep.*

++++++ stack-direction.patch ++++++
>From 41962edbf0327de697440f62607e2d67389d9581 Mon Sep 17 00:00:00 2001
From: Andreas Schwab <[email protected]>
Date: Tue, 21 Apr 2015 15:32:28 +0200
Subject: [PATCH] Make detection of stack direction more robust

---
 configure.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Index: librep_0.92.5/configure
===================================================================
--- librep_0.92.5.orig/configure
+++ librep_0.92.5/configure
@@ -14607,7 +14607,10 @@ See \`config.log' for more details" "$LI
 else
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
- void inner (char *foo) { char bar; exit (!(foo >= &bar)); }
+ int level = 1;
+              void inner (char *foo) { char bar;
+                if (level) { --level; inner (foo); }
+                exit (!(foo >= &bar)); }
               void main () { char foo; inner (&foo); }
 _ACEOF
 if ac_fn_c_try_run "$LINENO"; then :
Index: librep_0.92.5/configure.in
===================================================================
--- librep_0.92.5.orig/configure.in
+++ librep_0.92.5/configure.in
@@ -544,7 +544,10 @@ if test "${with_stack_direction}" = unkn
   esac
 fi
 if test "${with_stack_direction}" = unknown; then
-  AC_TRY_RUN([ void inner (char *foo) { char bar; exit (!(foo >= &bar)); }
+  AC_TRY_RUN([ int level = 1;
+              void inner (char *foo) { char bar;
+                if (level) { --level; inner (foo); }
+                exit (!(foo >= &bar)); }
               void main () { char foo; inner (&foo); } ],
    [AC_MSG_RESULT([downwards])
     with_stack_direction=-1],

Reply via email to