SHA256
1
0
forked from pool/coreutils

[bug introduced in coreutils-8.11] (bnc#788459 gnu#12656)

- Add the missing parts in coreutil.spec so that the testsuite is
  only run when coreutils-testsuite is built. Also add additional
  BuildRequires for the testsuite.
    [bug introduced in coreutils-8.11] (bnc#788459 gnu#12656)

OBS-URL: https://build.opensuse.org/package/show/Base:System/coreutils?expand=0&rev=165
This commit is contained in:
Philipp Thomas 2012-11-08 12:16:12 +00:00 committed by Git OBS Bridge
parent a1e606b120
commit fed157bf6e
5 changed files with 60 additions and 2 deletions

View File

@ -0,0 +1,25 @@
From: Philipp Thomas <pth@suse.de>
Date: 2012-11-08 13:06:34+01:00
Subject: Remove AM_SILENT_RULES
References:
Upstream:
This removes AM_SILENT_RULES so that autoreconf succeeds with older automake
versions.
---
configure.ac | 1 -
1 file changed, 1 deletion(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2012-11-08 12:57:12.224507908 +0100
+++ configure.ac 2012-11-08 13:04:32.064100936 +0100
@@ -33,7 +33,6 @@ AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
AM_INIT_AUTOMAKE([1.11.1 no-dist-gzip dist-xz color-tests parallel-tests])
-AM_SILENT_RULES([yes]) # make --enable-silent-rules the default.
dnl POSIXCHECK is worthwhile for maintainers, but adds several seconds
dnl (more than 10% execution time) to ./configure, with no benefit for

View File

@ -13,7 +13,7 @@ Sun Oct 28 20:31:28 UTC 2012 - mail@bernhard-voelker.de
This could happen with a very fragmented and sparse input file, This could happen with a very fragmented and sparse input file,
on GNU/Linux file systems supporting fiemap extent scanning. on GNU/Linux file systems supporting fiemap extent scanning.
This bug also affects mv when it resorts to copying, and install. This bug also affects mv when it resorts to copying, and install.
[bug introduced in coreutils-8.11] [bug introduced in coreutils-8.11] (bnc#788459 gnu#12656)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 21 11:55:12 UTC 2012 - froh@suse.com Fri Sep 21 11:55:12 UTC 2012 - froh@suse.com

View File

@ -27,6 +27,10 @@ BuildRequires: libacl-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: pam-devel BuildRequires: pam-devel
%if "%{name}" == "coreutils-testsuite"
BuildRequires: gdb
BuildRequires: perl-Expect
%endif
BuildRequires: xz BuildRequires: xz
Url: http://www.gnu.org/software/coreutils/ Url: http://www.gnu.org/software/coreutils/
Version: 8.17 Version: 8.17
@ -77,6 +81,7 @@ Patch34: coreutils-acl-nofollow.patch
Patch36: coreutils-basename_documentation.patch Patch36: coreutils-basename_documentation.patch
Patch37: coreutils-bnc#697897-setsid.patch Patch37: coreutils-bnc#697897-setsid.patch
Patch38: coreutils-cp-corrupt-fragmented-sparse.patch Patch38: coreutils-cp-corrupt-fragmented-sparse.patch
Patch39: coreutils-no_silent-rule.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# this will create a cycle, broken up randomly - coreutils is just too core to have other # this will create a cycle, broken up randomly - coreutils is just too core to have other
# prerequires # prerequires
@ -121,6 +126,9 @@ uname unexpand uniq unlink uptime users vdir wc who whoami yes
%patch36 %patch36
%patch37 %patch37
%patch38 %patch38
%if 0%{suse_version} < 1200
%patch39
%endif
xz -dc %{S:4} >po/de.po xz -dc %{S:4} >po/de.po
@ -136,6 +144,11 @@ export CFLAGS="%optflags -Wall"
make -C po update-po make -C po update-po
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%if "%{name}" == "coreutils-testsuite"
%check
make %{?_smp_mflags} check-very-expensive
%endif
%install %install
%makeinstall pkglibexecdir=%{_libdir}/%{name} %makeinstall pkglibexecdir=%{_libdir}/%{name}
test -f %{buildroot}%{_bindir}/su || \ test -f %{buildroot}%{_bindir}/su || \

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 8 13:12:25 CET 2012 - pth@suse.de
- Add the missing parts in coreutil.spec so that the testsuite is
only run when coreutils-testsuite is built. Also add additional
BuildRequires for the testsuite.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 6 13:23:45 CET 2012 - pth@suse.de Tue Nov 6 13:23:45 CET 2012 - pth@suse.de
@ -13,7 +20,7 @@ Sun Oct 28 20:31:28 UTC 2012 - mail@bernhard-voelker.de
This could happen with a very fragmented and sparse input file, This could happen with a very fragmented and sparse input file,
on GNU/Linux file systems supporting fiemap extent scanning. on GNU/Linux file systems supporting fiemap extent scanning.
This bug also affects mv when it resorts to copying, and install. This bug also affects mv when it resorts to copying, and install.
[bug introduced in coreutils-8.11] [bug introduced in coreutils-8.11] (bnc#788459 gnu#12656)
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 21 11:55:12 UTC 2012 - froh@suse.com Fri Sep 21 11:55:12 UTC 2012 - froh@suse.com

View File

@ -27,6 +27,10 @@ BuildRequires: libacl-devel
BuildRequires: libcap-devel BuildRequires: libcap-devel
BuildRequires: libselinux-devel BuildRequires: libselinux-devel
BuildRequires: pam-devel BuildRequires: pam-devel
%if "%{name}" == "coreutils-testsuite"
BuildRequires: gdb
BuildRequires: perl-Expect
%endif
BuildRequires: xz BuildRequires: xz
Url: http://www.gnu.org/software/coreutils/ Url: http://www.gnu.org/software/coreutils/
Version: 8.17 Version: 8.17
@ -77,6 +81,7 @@ Patch34: coreutils-acl-nofollow.patch
Patch36: coreutils-basename_documentation.patch Patch36: coreutils-basename_documentation.patch
Patch37: coreutils-bnc#697897-setsid.patch Patch37: coreutils-bnc#697897-setsid.patch
Patch38: coreutils-cp-corrupt-fragmented-sparse.patch Patch38: coreutils-cp-corrupt-fragmented-sparse.patch
Patch39: coreutils-no_silent-rule.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
# this will create a cycle, broken up randomly - coreutils is just too core to have other # this will create a cycle, broken up randomly - coreutils is just too core to have other
# prerequires # prerequires
@ -121,6 +126,9 @@ uname unexpand uniq unlink uptime users vdir wc who whoami yes
%patch36 %patch36
%patch37 %patch37
%patch38 %patch38
%if 0%{suse_version} < 1200
%patch39
%endif
xz -dc %{S:4} >po/de.po xz -dc %{S:4} >po/de.po
@ -136,6 +144,11 @@ export CFLAGS="%optflags -Wall"
make -C po update-po make -C po update-po
make %{?_smp_mflags} V=1 make %{?_smp_mflags} V=1
%if "%{name}" == "coreutils-testsuite"
%check
make %{?_smp_mflags} check-very-expensive
%endif
%install %install
%makeinstall pkglibexecdir=%{_libdir}/%{name} %makeinstall pkglibexecdir=%{_libdir}/%{name}
test -f %{buildroot}%{_bindir}/su || \ test -f %{buildroot}%{_bindir}/su || \