Hello community, here is the log from the commit of package scidavis for openSUSE:Factory checked in at 2018-04-25 10:02:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/scidavis (Old) and /work/SRC/openSUSE:Factory/.scidavis.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "scidavis" Wed Apr 25 10:02:59 2018 rev:2 rq:600809 version:1.22 Changes: -------- --- /work/SRC/openSUSE:Factory/scidavis/scidavis.changes 2018-02-22 15:02:00.650943192 +0100 +++ /work/SRC/openSUSE:Factory/.scidavis.new/scidavis.changes 2018-04-25 10:03:00.987177627 +0200 @@ -1,0 +2,6 @@ +Wed Apr 18 14:05:27 UTC 2018 - guillaume.gar...@opensuse.org + +- Handle aarch64 arch +- Make use of optflags + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ scidavis.spec ++++++ --- /var/tmp/diff_new_pack.Bek1hi/_old 2018-04-25 10:03:01.935142844 +0200 +++ /var/tmp/diff_new_pack.Bek1hi/_new 2018-04-25 10:03:01.935142844 +0200 @@ -1,7 +1,7 @@ # # spec file for package scidavis # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2012 Quentin Denis <quen...@links2linux.de> # # All modifications and additions to the file contributed by third parties @@ -21,7 +21,7 @@ Version: 1.22 Release: 0 Summary: An application for Scientific Data Analysis and Visualization -License: GPL-2.0 AND GPL-3.0+ +License: GPL-2.0-only AND GPL-3.0-or-later Group: Productivity/Scientific/Math Url: http://scidavis.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/scidavis/SciDAVis/%{version}/scidavis-%{version}.tar.gz @@ -73,7 +73,11 @@ %ifarch x86_64 ppc64 ppc64le export QMAKESPEC="linux-g++-64" %endif -qmake %{name}.pro +%ifarch aarch64 +# aarch64 uses QMAKESPEC="linux-g++" but will install in lib64 +sed -i "s/linux-g++-64: libsuff = 64/libsuff = 64/g" config.pri +%endif +qmake %{name}.pro QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" QMAKE_STRIP="/bin/true"; make %{?_smp_mflags} %install