Hello community,

here is the log from the commit of package coreutils for openSUSE:Factory 
checked in at 2020-06-27 23:20:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/coreutils (Old)
 and      /work/SRC/openSUSE:Factory/.coreutils.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "coreutils"

Sat Jun 27 23:20:19 2020 rev:134 rq:816056 version:8.32

Changes:
--------
--- /work/SRC/openSUSE:Factory/coreutils/coreutils.changes      2020-05-11 
13:25:45.091155205 +0200
+++ /work/SRC/openSUSE:Factory/.coreutils.new.3060/coreutils.changes    
2020-06-27 23:20:22.213386316 +0200
@@ -1,0 +2,9 @@
+Sat Jun 13 08:48:03 UTC 2020 - Bernhard Voelker <[email protected]>
+
+- coreutils-gnulib-disable-test-float.patch: Add patch to temporarily
+  disable the gnulib test 'test-float' failing on ppc and ppc64le.
+- coreutils.spec: Reference the patch.  While at it, avoid conditional
+  Patch and Source entries as that break cross-platform builds from
+  source RPMs.
+
+-------------------------------------------------------------------

New:
----
  coreutils-gnulib-disable-test-float.patch

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

Other differences:
------------------
++++++ coreutils.spec ++++++
--- /var/tmp/diff_new_pack.olAAsz/_old  2020-06-27 23:20:23.157389420 +0200
+++ /var/tmp/diff_new_pack.olAAsz/_new  2020-06-27 23:20:23.157389420 +0200
@@ -86,7 +86,6 @@
 
 #cgit-URL:     https://git.savannah.gnu.org/cgit/coreutils.git/
 #Git-Clone:    git://git.sv.gnu.org/coreutils
-%if "%{name}" == "coreutils"
 # For upgrading the upstream version, increase the version number (above),
 # then remove the old tarball and signature files and let OSC download
 # those files of the new version:
@@ -97,18 +96,10 @@
 # Finally, add a changelog entry and commit:
 #    osc vc
 #    osc ci
-Source0:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
-Source1:        https://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz.sig
-Source2:        
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=%{name}&download=1&file=./%{name}.keyring
-%else
-# In "coreutils-testsuite", we use the version controlled file from 
"coreutils".
-# otherwise that file would be downloaded twice during the above mentioned
-# upgrade procedure.
-Source0:        coreutils-%{version}.tar.xz
-Source1:        coreutils-%{version}.tar.xz.sig
-Source2:        coreutils.keyring
-%endif
 
+Source0:        https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz
+Source1:        
https://ftp.gnu.org/gnu/coreutils/coreutils-%{version}.tar.xz.sig
+Source2:        
https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=coreutils&download=1&file=./coreutils.keyring
 Source3:        baselibs.conf
 
 Patch1:         coreutils-remove_hostname_documentation.patch
@@ -130,9 +121,7 @@
 # a glibc issue in mkstemp.
 Patch300:       coreutils-skip-some-sort-tests-on-ppc.patch
 
-%ifarch %ix86 x86_64 ppc ppc64
 Patch301:       coreutils-skip-gnulib-test-tls.patch
-%endif
 
 # tests: shorten extreme-expensive factor tests
 Patch303:       coreutils-tests-shorten-extreme-factor-tests.patch
@@ -147,6 +136,8 @@
 # Remove this patch with the next coreutils release.
 Patch800:       coreutils-ls-restore-8.31-behavior-on-removed-dirs.patch
 
+Patch820:       coreutils-gnulib-disable-test-float.patch
+
 # ================================================
 %description
 These are the GNU core utilities.  This package is the union of
@@ -202,6 +193,11 @@
 
 %patch800
 
+%ifarch ppc ppc64le
+# Disable gnulib test 'test-float' temporarily as it fails on ppc and ppc64le.
+%patch820
+%endif
+
 # ================================================
 %build
 %if 0%{suse_version} >= 1200


++++++ coreutils-gnulib-disable-test-float.patch ++++++
Disable gnulib test 'test-float' temporarily as it fails on ppc and ppc64le.

* gnulib-tests/gnulib.mk: Comment lines related to 'test-float'.
---
 gnulib-tests/gnulib.mk |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Index: gnulib-tests/gnulib.mk
===================================================================
--- gnulib-tests/gnulib.mk.orig
+++ gnulib-tests/gnulib.mk
@@ -635,9 +635,10 @@ EXTRA_DIST += test-filevercmp.c macros.h
 
 ## begin gnulib module float-tests
 
-TESTS += test-float
-check_PROGRAMS += test-float
-EXTRA_DIST += test-float.c macros.h
+# Test fails with GCC-10 on ppc and ppc64le.
+#TESTS += test-float
+#check_PROGRAMS += test-float
+#EXTRA_DIST += test-float.c macros.h
 
 ## end   gnulib module float-tests
 

Reply via email to