forked from pool/build-compare
- compare also posttrans scripts, and pretrans + verifyscript
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/build-compare?expand=0&rev=271
This commit is contained in:
parent
b9318be55f
commit
43ad56bd29
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 13 13:13:13 UTC 2020 - olaf@aepfle.de
|
||||
|
||||
- compare also posttrans scripts, and pretrans + verifyscript
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 05:05:05 UTC 2020 - olaf@aepfle.de
|
||||
|
||||
|
@ -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: 20200508T210136.9aadd6e
|
||||
Version: 20200513T191311.ef45e71
|
||||
Release: 0
|
||||
Source1: COPYING
|
||||
Source2: same-build-result.sh
|
||||
|
15
functions.sh
15
functions.sh
@ -59,7 +59,20 @@ QF_TAGS="${QF_TAGS}[%{VERIFYSCRIPTPROG} %{VERIFYSCRIPT}]\\n"
|
||||
QF_TAGS="${QF_TAGS}%{CHANGELOGTIME} %{CHANGELOGNAME} %{CHANGELOGTEXT}\\n"
|
||||
|
||||
# scripts, might contain release number
|
||||
QF_SCRIPT="[%{PREINPROG} %{PREIN}\\n]\\n[%{POSTINPROG} %{POSTIN}\\n]\\n[%{PREUNPROG} %{PREUN}\\n]\\n[%{POSTUNPROG} %{POSTUN}\\n]\\n"
|
||||
script_types='
|
||||
PRETRANS
|
||||
PREIN
|
||||
POSTIN
|
||||
PREUN
|
||||
POSTUN
|
||||
POSTTRANS
|
||||
VERIFYSCRIPT
|
||||
'
|
||||
QF_SCRIPT=
|
||||
for script_type in ${script_types}
|
||||
do
|
||||
QF_SCRIPT="${QF_SCRIPT}[%{${script_type}PROG} %{${script_type}FLAGS} %{${script_type}}\\n]\\n"
|
||||
done
|
||||
|
||||
# Now the files. We leave out mtime and size. For normal files
|
||||
# the size will influence the MD5 anyway. For directories the sizes can
|
||||
|
Loading…
Reference in New Issue
Block a user