diff --git a/obsgendiff b/obsgendiff index d9462f5..faf60c9 100644 --- a/obsgendiff +++ b/obsgendiff @@ -36,14 +36,13 @@ done # create changelogs based on the packaged rpms mkdir -p $out/{changelogs,disturl} -for packages in /.build.packages/KIWI/*.packages; do - cat "$packages" | while read line; do - IFS='|' read -r -a a <<< "$line" - name="${a[0]}" - rpm="${name}.rpm" - - # only the worker knows where it was downloaded from.... - file=`find /.build.packages/SOURCES/repos/ -name $rpm` +for report in /.build.packages/OTHER/*.report; do + sed -n -e 's,.*,\1,p' "$report" | while read rpm; do + name="${rpm##*/}" + name="${name%-*}" + name="${name%-*}" + # construct the full file name + file=`find /.build.packages/SOURCES/repos/$rpm` rpm -qp "$file" --changelog 2>/dev/null > $out/changelogs/${name} rpm -qp "$file" --qf '%{DISTURL}\n' 2>/dev/null > $out/disturl/${name} done diff --git a/release-compare.changes b/release-compare.changes index 2c0e45d..a646afd 100644 --- a/release-compare.changes +++ b/release-compare.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 19 09:13:35 UTC 2020 - Adrian Schröter + +- running based on .report instead of .packages files + ------------------------------------------------------------------- Mon Feb 3 14:11:03 UTC 2020 - Adrian Schröter