Accepting request 912957 from openSUSE:Tools

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/912957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/build-compare?expand=0&rev=118
This commit is contained in:
Dominique Leuenberger 2021-08-25 18:55:58 +00:00 committed by Git OBS Bridge
commit 9b4e783a99
3 changed files with 16 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Aug 11 20:30:40 UTC 2021 - olaf@aepfle.de
- Handle another Date: variant in DocBook generated man pages
-------------------------------------------------------------------
Mon Jul 27 06:06:06 UTC 2020 - bwiedemann@suse.de

View File

@ -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: 20200727T175347.d95eb35
Version: 20210811T224256.f313711
Release: 0
Source1: COPYING
Source2: same-build-result.sh

View File

@ -554,7 +554,12 @@ normalize_file()
trim_man_first_line $f
# generated by docbook xml:
#.\" Date: 09/13/2010
sed -i -e 's|Date: [0-1][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]|Date: 09/13/2010|' $f
# Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
#.\" Date: 2021-08-05
sed -i -e '
s|Date: [0-1][0-9]/[0-9][0-9]/[0-9][0-9][0-9][0-9]|Date: DD/MM/YYYY|
s|Date: [0-9][0-9][0-9][0-9]-[0-1][0-9]-[0-3][0-9]|Date: YYYY-MM-DD|
' $f
done
;;
*.elc)
@ -1107,7 +1112,10 @@ check_single_file()
return 0
}
FUNCTIONS=${0%/*}/functions.sh
case "${0}" in
*/*) FUNCTIONS=${0%/*}/functions.sh ;;
*) FUNCTIONS=functions.sh ;;
esac
: ${buildcompare_head:="head -n 200"}
nofilter=${buildcompare_nofilter}
sort=sort