diff --git a/build-compare.changes b/build-compare.changes index ac52bbd..df8d6c5 100644 --- a/build-compare.changes +++ b/build-compare.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sat Mar 6 04:01:36 UTC 2010 - aj@suse.de + +- Improve regexp for last change. + +------------------------------------------------------------------- +Fri Mar 5 09:46:01 UTC 2010 - aj@suse.de + +- Handle more man files. + ------------------------------------------------------------------- Sun Dec 13 12:59:16 UTC 2009 - aj@suse.de diff --git a/build-compare.spec b/build-compare.spec index eb90f16..f5e46a9 100644 --- a/build-compare.spec +++ b/build-compare.spec @@ -1,7 +1,7 @@ # # spec file for package build-compare (Version 2009.10.14) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -24,7 +24,7 @@ Group: Development/Tools/Building AutoReqProv: on Summary: Build Result Compare Script Version: 2009.10.14 -Release: 4 +Release: 5 Source: same-build-result.sh Source1: rpm-check.sh Source2: COPYING diff --git a/rpm-check.sh b/rpm-check.sh index 98b103d..3024d8d 100644 --- a/rpm-check.sh +++ b/rpm-check.sh @@ -376,6 +376,15 @@ check_single_file() sed -i -e 's| 3 "20..-..-.." "perl v5....." "User Contributed Perl Documentation"$| 3 "2009-01-01" "perl v5.10.0" "User Contributed Perl Documentation"|' $f done ;; + /usr/share/man/man*/*) + # Handles lines like: + # .TH debhelper 7 "2010-02-27" "7.4.15" "Debhelper" + # .TH DIRMNGR-CLIENT 1 2010-02-27 "Dirmngr 1.0.3" "GNU Privacy Guard" + # .TH ccmake 1 "March 06, 2010" "ccmake 2.8.1-rc3" + for f in old/$file new/$file; do + sed -i -e 's|^\.TH \(.*\) \(.\) \("\?20..-..-.."\?\|"[a-zA-Z]* [0-9][0-9], 20[0-9][0-9]"\) |.TH \1 \2 "2000-01-01" |' $f + done + ;; *.elc) # emacs lisp files for f in old/$file new/$file; do