Hello community,

here is the log from the commit of package mongodb for openSUSE:Factory checked 
in at 2017-05-08 19:03:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mongodb (Old)
 and      /work/SRC/openSUSE:Factory/.mongodb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mongodb"

Mon May  8 19:03:58 2017 rev:2 rq:493336 version:3.4.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/mongodb/mongodb.changes  2017-04-30 
21:23:39.854676281 +0200
+++ /work/SRC/openSUSE:Factory/.mongodb.new/mongodb.changes     2017-05-08 
19:04:34.062975290 +0200
@@ -1,0 +2,5 @@
+Wed Apr 26 09:21:18 UTC 2017 - [email protected]
+
+- Use gcc6 on SLE >= 12SP2 and enable s390x port 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mongodb.spec ++++++
--- /var/tmp/diff_new_pack.za4O5I/_old  2017-05-08 19:04:35.402786019 +0200
+++ /var/tmp/diff_new_pack.za4O5I/_new  2017-05-08 19:04:35.406785454 +0200
@@ -36,7 +36,12 @@
 Source2:        mongodb.logrotate
 Source3:        mongodb.conf
 Source4:        mongodb.service
+%if 0%{?sle_version} >= 120200
+BuildRequires:  gcc6
+BuildRequires:  gcc6-c++
+%else
 BuildRequires:  gcc-c++ >= 5.3
+%endif
 BuildRequires:  glibc-devel
 BuildRequires:  openssl-devel
 BuildRequires:  scons >= 2.3
@@ -53,7 +58,7 @@
 Conflicts:      mongodb-org
 Conflicts:      mongodb-org-unstable
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-ExcludeArch:    i586 s390x ppc
+ExcludeArch:    i586 ppc
 # MongoDB (upstream) does NOT support PPC, PPC64 or PPC64LE
 # on the 3.0.X series.
 #
@@ -171,9 +176,12 @@
 # change default database path to reflect the default database user directory
 sed -i 's|/data/db/|%{_home_dir}/|' src/mongo/db/storage/storage_options.cpp
 
-
 %build
-scons core \
+scons \
+%if 0%{?sle_version} >= 120200
+    CC=%{_bindir}/gcc-6 CXX=%{_bindir}/g++-6 \
+%endif
+    core \
     %{?_smp_mflags} \
     --disable-warnings-as-errors \
     --nostrip \
@@ -190,7 +198,11 @@
 
 
 %install
-scons install --prefix=%{buildroot}%{_prefix} \
+scons \
+%if 0%{?sle_version} >= 120200
+    CC=%{_bindir}/gcc-6 CXX=%{_bindir}/g++-6 \
+%endif
+    install --prefix=%{buildroot}%{_prefix} \
     --disable-warnings-as-errors \
     --nostrip \
     --ssl \


Reply via email to