fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/release-compare?expand=0&rev=4
This commit is contained in:
parent
ddb8b97b48
commit
de00617e16
15
obsgendiff
15
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,.*<binary .*obs://\(.*\)</binary>,\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
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 19 09:13:35 UTC 2020 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
- running based on .report instead of .packages files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 3 14:11:03 UTC 2020 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user