Hello community,

here is the log from the commit of package mongodb for openSUSE:Factory checked 
in at 2018-06-08 23:16:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mongodb (Old)
 and      /work/SRC/openSUSE:Factory/.mongodb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mongodb"

Fri Jun  8 23:16:29 2018 rev:6 rq:614554 version:3.6.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/mongodb/mongodb.changes  2018-04-06 
17:51:04.168185279 +0200
+++ /work/SRC/openSUSE:Factory/.mongodb.new/mongodb.changes     2018-06-08 
23:16:33.441697928 +0200
@@ -1,0 +2,6 @@
+Mon Apr  9 08:24:22 UTC 2018 - mar...@gmx.de
+
+- Adjust gcc-c++ BuildRequires. Leap15/SLE15 don't ship gcc6
+- Run spec-cleaner
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ mongodb.spec ++++++
--- /var/tmp/diff_new_pack.MaP5Yu/_old  2018-06-08 23:16:35.833611536 +0200
+++ /var/tmp/diff_new_pack.MaP5Yu/_new  2018-06-08 23:16:35.845611102 +0200
@@ -24,13 +24,19 @@
 %else
     %bcond_with systemd
 %endif
+# maintainers do not like to make package work just  becuase so this is 
workaround...
+%if %{?suse_version} >= 1500
+%define scons_bin %{_bindir}/scons
+%else
+%define scons_bin buildscripts/scons.py
+%endif
 Name:           mongodb
 Version:        3.6.2
 Release:        0
 Summary:        The MongoDB document-oriented database system (metapackage)
 License:        AGPL-3.0-only
 Group:          Productivity/Databases/Servers
-Url:            http://www.mongodb.org
+URL:            http://www.mongodb.org
 Source0:        https://fastdl.mongodb.org/src/mongodb-src-r%{version}.tar.gz
 Source1:        mongodb.init
 Source2:        mongodb.logrotate
@@ -38,26 +44,8 @@
 Source4:        mongodb.service
 Source5:        mongodb-tmpfile
 Patch0:         mongo-src-3.6.2-python3.patch
-%if 0%{?sle_version} >= 120200
-BuildRequires:  gcc6
-BuildRequires:  gcc6-c++
-%else
-BuildRequires:  gcc-c++ >= 5.3
-%endif
 BuildRequires:  glibc-devel
 BuildRequires:  openssl-devel
-%if 0%{?suse_version} >= 1500
-BuildRequires:  python3-Cheetah3
-BuildRequires:  python3-PyYAML
-BuildRequires:  python3-regex
-BuildRequires:  python3-setuptools
-%else
-BuildRequires:  python-Cheetah
-BuildRequires:  python-PyYAML
-BuildRequires:  python-regex
-BuildRequires:  python-setuptools
-BuildRequires:  python-typing
-%endif
 BuildRequires:  scons >= 2.3
 Requires:       logrotate
 Requires:       mongodb-mongoperf = %{version}
@@ -71,7 +59,6 @@
 Conflicts:      mongodb-enterprise-unstable
 Conflicts:      mongodb-org
 Conflicts:      mongodb-org-unstable
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 ExcludeArch:    i586 ppc
 # MongoDB (upstream) does NOT support PPC, PPC64 or PPC64LE
 # on the 3.0.X series.
@@ -89,6 +76,24 @@
 # PPC building when updating mongodb to newer version
 # since they have been known to work and have been suggested by upstream
 ExcludeArch:    ppc64 ppc64le
+%if 0%{?sle_version} == 120200 || 0%{?sle_version} == 120300
+BuildRequires:  gcc6
+BuildRequires:  gcc6-c++
+%else
+BuildRequires:  gcc-c++ >= 5.3
+%endif
+%if 0%{?suse_version} >= 1500
+BuildRequires:  python3-Cheetah3
+BuildRequires:  python3-PyYAML
+BuildRequires:  python3-regex
+BuildRequires:  python3-setuptools
+%else
+BuildRequires:  python-Cheetah
+BuildRequires:  python-PyYAML
+BuildRequires:  python-regex
+BuildRequires:  python-setuptools
+BuildRequires:  python-typing
+%endif
 %ifarch ppc64 ppc64le
 BuildRequires:  gperftools-devel
 %endif
@@ -100,12 +105,6 @@
 Requires(pre):  %fillup_prereq
 Requires(pre):  %insserv_prereq
 %endif
-# maintainers do not like to make package work just  becuase so this is 
workaround...
-%if %{?suse_version} >= 1500
-%define scons_bin %{_bindir}/scons
-%else
-%define scons_bin buildscripts/scons.py
-%endif
 
 %description
 MongoDB is a document-oriented database program. Classified as a
@@ -204,7 +203,7 @@
 %ifarch aarch64
     CCFLAGS="-march=armv8-a+crc" \
 %endif
-%if 0%{?sle_version} >= 120200
+%if 0%{?sle_version} == 120200 || 0%{?sle_version} == 120300
     CC=%{_bindir}/gcc-6 CXX=%{_bindir}/g++-6 \
 %endif
     core \
@@ -228,7 +227,7 @@
 %ifarch aarch64
     CCFLAGS="-march=armv8-a+crc" \
 %endif
-%if 0%{?sle_version} >= 120200
+%if 0%{?sle_version} == 120200 || 0%{?sle_version} == 120300
     CC=%{_bindir}/gcc-6 CXX=%{_bindir}/g++-6 \
 %endif
     install --prefix=%{buildroot}%{_prefix} \


Reply via email to