Hello community,

here is the log from the commit of package perf for openSUSE:Factory checked in 
at 2015-01-08 23:03:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perf (Old)
 and      /work/SRC/openSUSE:Factory/.perf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perf"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perf/perf.changes        2014-12-16 
14:47:21.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perf.new/perf.changes   2015-01-08 
23:03:29.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Jan  8 09:01:23 UTC 2015 - [email protected]
+
+- Remove build hack for kernel not building against glibc 2.20.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.C3cSgd/_old  2015-01-08 23:03:30.000000000 +0100
+++ /var/tmp/diff_new_pack.C3cSgd/_new  2015-01-08 23:03:30.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perf
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -66,16 +66,6 @@
 
 %build
 cd tools/perf
-# Temporary hack to build until the kernel update lands - we fail once the 
kernel update is there, so we know when to drop the hack
-if grep _DEFAULT_SOURCE util/util.h; then
-  # glibc 2.20 deprecated _BSD_SOURCE in favor of _DEFAULT_SOURCE; so if we 
have _DEFAULT_SOURCE defined, we're compatible already and don't need the hack
-  echo "Please remove this hack - the kernel has been updated to build fine 
with glibc 2.20"
-  false
-else
-  # if the kernel is not yet ready for glibc 2.20, we accept warnings without 
raising them to errors.
-  # Don't forget to remove the export WERROR=0 in the install section
-  export WERROR=0
-fi
 # PASS rpm optflags as EXTRA_FLAGS,  passing as CFLAGS overrides and breaks 
build
 make -f Makefile.perf EXTRA_CFLAGS="%{optflags}" ASCIIDOC8=1 prefix=/usr 
perfexecdir=lib/%{name}-core all doc %{_perf_unwind}
 

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to