forked from pool/post-build-checks
- strim white space in check_gcc_output - this reduces the time
to check an openSUSE-images log file (38M mostly whitespace due to zypper output) from several hours to some seconds OBS-URL: https://build.opensuse.org/package/show/Base:System/post-build-checks?expand=0&rev=62
This commit is contained in:
parent
a6c6fd2a27
commit
d62833e747
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 28 08:18:18 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
- strim white space in check_gcc_output - this reduces the time
|
||||||
|
to check an openSUSE-images log file (38M mostly whitespace due
|
||||||
|
to zypper output) from several hours to some seconds
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Dec 20 10:14:40 UTC 2011 - werner@suse.de
|
Tue Dec 20 10:14:40 UTC 2011 - werner@suse.de
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package post-build-checks
|
# spec file for package post-build-checks
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -34,6 +34,7 @@ Url: http://gitorious.org/opensuse/post-build-checks
|
|||||||
#
|
#
|
||||||
Source0: %{name}-%{version}.tar.bz2
|
Source0: %{name}-%{version}.tar.bz2
|
||||||
Patch0: new.diff
|
Patch0: new.diff
|
||||||
|
Patch1: strim-whitespace.diff
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -51,6 +52,7 @@ it may not be a good idea to install this to a running system:
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# nothing to do
|
# nothing to do
|
||||||
|
12
strim-whitespace.diff
Normal file
12
strim-whitespace.diff
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Index: post-build-checks-1.0/checks-data/check_gcc_output
|
||||||
|
===================================================================
|
||||||
|
--- post-build-checks-1.0.orig/checks-data/check_gcc_output 2011-10-20 11:57:54.000000000 +0200
|
||||||
|
+++ post-build-checks-1.0/checks-data/check_gcc_output 2012-05-28 10:17:58.937350253 +0200
|
||||||
|
@@ -197,6 +197,7 @@ my $in_build_stage = 0;
|
||||||
|
|
||||||
|
while (<>) {
|
||||||
|
chomp;
|
||||||
|
+ s, +, ,g;
|
||||||
|
next if (m,/usr/include/c\+\+/,);
|
||||||
|
|
||||||
|
$in_build_stage = 1 if (/^Executing\(\%build/);
|
Loading…
Reference in New Issue
Block a user