Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qore-sqlite3-module for 
openSUSE:Factory checked in at 2021-04-22 18:04:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qore-sqlite3-module (Old)
 and      /work/SRC/openSUSE:Factory/.qore-sqlite3-module.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qore-sqlite3-module"

Thu Apr 22 18:04:08 2021 rev:5 rq:887448 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/qore-sqlite3-module/qore-sqlite3-module.changes  
2020-12-21 10:26:50.600212934 +0100
+++ 
/work/SRC/openSUSE:Factory/.qore-sqlite3-module.new.12324/qore-sqlite3-module.changes
       2021-04-22 18:05:01.346603643 +0200
@@ -1,0 +2,8 @@
+Tue Apr 13 15:47:57 UTC 2021 - Guillaume GARDET <[email protected]>
+
+- Fix build on armv7 and aarch64:
+  * Drop -m32/-m64 flags for %arm and aarch64
+  * Add missing aarch64 support in config.guess:
+    - qore_sqlite3_module_add_aarch64_to_config_guess.patch
+
+-------------------------------------------------------------------

New:
----
  qore_sqlite3_module_add_aarch64_to_config_guess.patch

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

Other differences:
------------------
++++++ qore-sqlite3-module.spec ++++++
--- /var/tmp/diff_new_pack.sDZiD9/_old  2021-04-22 18:05:01.802604338 +0200
+++ /var/tmp/diff_new_pack.sDZiD9/_new  2021-04-22 18:05:01.802604338 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package qore-sqlite3-module
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,11 +22,12 @@
 Version:        1.0.1
 Release:        0
 Summary:        Sqlite3 DBI module for Qore
-License:        LGPL-2.1+
+License:        LGPL-2.1-or-later
 Group:          Development/Languages/Other
-Url:            http://www.qore.org
+URL:            http://www.qore.org
 Source:         
http://prdownloads.sourceforge.net/qore/%{name}-%{version}.tar.gz
 Patch1:         qore_sqlite3_module_add_ppc64le_to_config_guess.patch
+Patch2:         qore_sqlite3_module_add_aarch64_to_config_guess.patch
 BuildRequires:  gcc-c++
 BuildRequires:  openssl-devel
 BuildRequires:  qore
@@ -55,7 +56,13 @@
 %prep
 %setup -q
 %patch1 -p1
-%ifarch x86_64 ppc64 ppc64le s390x
+%patch2 -p1
+%ifarch %{arm} aarch64
+# Drop -m64/-m32 flags on Arm
+sed -i -e 's/ -m64//g' configure
+sed -i -e 's/ -m32//g' configure
+%endif
+%ifarch x86_64 aarch64 ppc64 ppc64le s390x
 c64=--enable-64bit
 %endif
 CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" ./configure 
RPM_OPT_FLAGS="%{optflags}" --prefix=/usr --disable-debug $c64

++++++ qore_sqlite3_module_add_aarch64_to_config_guess.patch ++++++
--- qore-sqlite3-module-1.0.1/config.guess.orig 2021-04-13 17:46:44.440924443 
+0200
+++ qore-sqlite3-module-1.0.1/config.guess      2021-04-13 17:46:14.680675557 
+0200
@@ -871,6 +871,9 @@ EOF
        if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
        echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
        exit ;;
+    aarch64:Linux:*:*)
+       echo aarch64-unknown-linux-gnu
+       exit ;;
     arm*:Linux:*:*)
        eval $set_cc_for_build
        if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \

Reply via email to