Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package guile-newt for openSUSE:Factory 
checked in at 2022-09-25 15:35:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/guile-newt (Old)
 and      /work/SRC/openSUSE:Factory/.guile-newt.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "guile-newt"

Sun Sep 25 15:35:19 2022 rev:4 rq:1005736 version:0.0.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/guile-newt/guile-newt.changes    2020-11-26 
23:15:57.377063794 +0100
+++ /work/SRC/openSUSE:Factory/.guile-newt.new.2275/guile-newt.changes  
2022-09-25 15:35:41.155678259 +0200
@@ -1,0 +2,12 @@
+Sat Sep 17 08:40:47 UTC 2022 - Jonathan Brielmaier <[email protected]>
+
+- remove unused RPM lint filters, add one for devel dependency 
+
+-------------------------------------------------------------------
+Fri Sep 16 17:58:08 UTC 2022 - Jonathan Brielmaier <[email protected]>
+
+- Update to 0.0.3
+  * add cross-compilation support
+  * prevent dlopen at compile time 
+
+-------------------------------------------------------------------

Old:
----
  guile-newt-0.0.2.tar.gz

New:
----
  guile-newt-0.0.3.tar.gz

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

Other differences:
------------------
++++++ guile-newt.spec ++++++
--- /var/tmp/diff_new_pack.lTEOwu/_old  2022-09-25 15:35:43.815684665 +0200
+++ /var/tmp/diff_new_pack.lTEOwu/_new  2022-09-25 15:35:43.819684675 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package guile-newt
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           guile-newt
-Version:        0.0.2
+Version:        0.0.3
 Release:        0
 Summary:        Guile bindings to Newt
 License:        GPL-3.0-or-later

++++++ guile-newt-0.0.2.tar.gz -> guile-newt-0.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guile-newt-0.0.2/configure.ac 
new/guile-newt-0.0.3/configure.ac
--- old/guile-newt-0.0.2/configure.ac   2020-03-30 12:21:54.000000000 +0200
+++ new/guile-newt-0.0.3/configure.ac   2022-08-08 10:48:43.000000000 +0200
@@ -26,4 +26,9 @@
 AC_CONFIG_FILES([Makefile newt/config.scm])
 AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
 
+if test "$cross_compiling" != no; then
+   GUILE_TARGET="--target=$host_alias"
+   AC_SUBST([GUILE_TARGET])
+fi
+
 AC_OUTPUT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guile-newt-0.0.2/guile.am 
new/guile-newt-0.0.3/guile.am
--- old/guile-newt-0.0.2/guile.am       2020-03-30 12:21:54.000000000 +0200
+++ new/guile-newt-0.0.3/guile.am       2022-08-08 10:48:43.000000000 +0200
@@ -11,4 +11,4 @@
 GUILE_WARNINGS = -Wunbound-variable -Warity-mismatch -Wformat
 SUFFIXES = .scm .go
 .scm.go:
-       $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile 
$(GUILE_WARNINGS) -o "$@" "$<"
+       $(AM_V_GEN)$(top_builddir)/pre-inst-env $(GUILE_TOOLS) compile 
$(GUILE_TARGET) $(GUILE_WARNINGS) -o "$@" "$<"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/guile-newt-0.0.2/newt/bindings.scm 
new/guile-newt-0.0.3/newt/bindings.scm
--- old/guile-newt-0.0.2/newt/bindings.scm      2020-03-30 12:21:54.000000000 
+0200
+++ new/guile-newt-0.0.3/newt/bindings.scm      2022-08-08 10:48:43.000000000 
+0200
@@ -1,5 +1,5 @@
 ;;; Guile-newt --- GNU Guile bindings of libnewt
-;;; Copyright ?? 2018, 2020 Mathieu Othacehe <[email protected]>
+;;; Copyright ?? 2018, 2020, 2022 Mathieu Othacehe <[email protected]>
 ;;;
 ;;; This file is part of Guile-newt.
 ;;;
@@ -19,8 +19,7 @@
 (define-module (newt bindings)
   #:use-module (system foreign)
   #:use-module (newt config)
-  #:export (libnewt
-            libnewt->procedure
+  #:export (libnewt->procedure
             libnewt->procedure*
 
             newt-init
@@ -58,11 +57,15 @@
             newt-set-help-callback
             newt-resume))
 
-(define libnewt
-  (dynamic-link %libnewt))
-
 (define (libnewt->procedure return name params)
-  (pointer->procedure return (dynamic-func name libnewt) params))
+  (catch #t
+    (lambda ()
+      (let ((ptr (dynamic-func name (dynamic-link %libnewt))))
+        (pointer->procedure return ptr params)))
+    (lambda args
+      (lambda _
+        (throw 'system-error name  "~A" (list (strerror ENOSYS))
+               (list ENOSYS))))))
 
 (define-inlinable (libnewt->procedure* name params)
   (let ((proc (libnewt->procedure int name params)))

++++++ guile-newt-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.lTEOwu/_old  2022-09-25 15:35:43.923684925 +0200
+++ /var/tmp/diff_new_pack.lTEOwu/_new  2022-09-25 15:35:43.927684935 +0200
@@ -1,10 +1,3 @@
-# guile .go files are "special"
-# no shared libraries
-addFilter("W: shared-lib-without-dependency-information /usr/lib64/guile/*/.*")
-
-# maybe a wrong linker
-addFilter("W: missing-PT_GNU_STACK-section /usr/lib64/guile/*/.*")
-
-# They can't be stripped
-addFilter("W: unstripped-binary-or-object 
/usr/lib64/guile/*/site-ccache/newt*")
+# RPM doesn't find the dependency itself
+addFilter("E: devel-dependency newt-devel")
 

Reply via email to