From 6320d4fe21ee8c5e8835f81ffa9564b51c7ab525e0b0f66a75a343e2b32d5f10 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Fri, 4 Mar 2016 18:53:00 +0000 Subject: [PATCH] - Handle yet another variant of elc timestamps OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=200 --- build-compare.changes | 5 +++++ build-compare.spec | 2 +- pkg-diff.sh | 7 ++++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/build-compare.changes b/build-compare.changes index b26fc3f..a6263e3 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 4 18:50:32 UTC 2016 - olaf@aepfle.de + +- Handle yet another variant of elc timestamps + ------------------------------------------------------------------- Thu Mar 3 12:44:04 UTC 2016 - olaf@aepfle.de diff --git a/build-compare.spec b/build-compare.spec index 2a9ad3d..dfc430c 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -21,7 +21,7 @@ Summary: Build Result Compare Script License: GPL-2.0+ Group: Development/Tools/Building Url: https://github.com/openSUSE/build-compare -Version: 20160303T140910.a3e5233 +Version: 20160304T195219.e59af35 Release: 0 Source1: COPYING Source2: same-build-result.sh diff --git a/pkg-diff.sh b/pkg-diff.sh index 9c409df..771fd0a 100644 --- a/pkg-diff.sh +++ b/pkg-diff.sh @@ -597,7 +597,12 @@ check_single_file() *.elc) # emacs lisp files for f in old/$file new/$file; do - sed -i -e 's|Compiled by abuild@.* on ... ... .. ..:..:.. 20..$|compiled by abuild@buildhost on Wed Jul 01 00:00:00 2009|' $f + sed -i -e ' + s|^;;; .ompiled by abuild@.* on ... ... .. ..:..:.. ....|;;; compiled by abuild@buildhost on Wed Jul 01 00:00:00 2009| + s|^;;; from file .*\.el|;;; from file /home/abuild/rpmbuild/BUILD/anthy-9100h/src-util/elc.8411/anthy-azik.el| + s|^;;; emacs version .*|;;; emacs version 21.5 (beta34) "kale" XEmacs Lucid.| + s|^;;; bytecomp version .*|;;; bytecomp version 2.28 XEmacs; 2009-08-09.| + ' $f done ;; /var/lib/texmf/web2c/*/*fmt |\