Hello community,

here is the log from the commit of package jemalloc for openSUSE:Factory 
checked in at 2016-02-25 21:57:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/jemalloc (Old)
 and      /work/SRC/openSUSE:Factory/.jemalloc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "jemalloc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/jemalloc/jemalloc.changes        2015-10-25 
14:18:20.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.jemalloc.new/jemalloc.changes   2016-02-25 
22:03:44.000000000 +0100
@@ -1,0 +2,5 @@
+Sun Feb 14 18:27:08 UTC 2016 - [email protected]
+
+- Fix build/test in SLE_11 by using gcc48
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ jemalloc.spec ++++++
--- /var/tmp/diff_new_pack.MmQ4Vr/_old  2016-02-25 22:03:46.000000000 +0100
+++ /var/tmp/diff_new_pack.MmQ4Vr/_new  2016-02-25 22:03:46.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package jemalloc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -29,6 +29,9 @@
 Source:         
http://www.canonware.com/download/jemalloc/jemalloc-%{version}.tar.bz2
 BuildRequires:  docbook-xsl-stylesheets
 BuildRequires:  libxslt
+%if 0%{?suse_version} == 1110
+BuildRequires:  gcc48
+%endif
 BuildRequires:  pkgconfig
 Requires:       %lname = %{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -68,6 +71,17 @@
 
 %build
 export EXTRA_CFLAGS="%{optflags} -std=gnu99"
+%if 0%{?suse_version} == 1110
+if [ -f /usr/bin/gcc-4.6 ]; then
+       export CC=gcc-4.6
+fi
+if [ -f /usr/bin/gcc-4.7 ]; then
+       export CC=gcc-4.7
+fi
+if [ -f /usr/bin/gcc-4.8 ]; then
+       export CC=gcc-4.8
+fi
+%endif
 %configure --enable-cc-silence \
            --enable-prof
 make %{?_smp_mflags}


Reply via email to