fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/release-compare?expand=0&rev=11
This commit is contained in:
parent
00ce426d40
commit
f52a7bbd6d
@ -60,7 +60,7 @@ for report in /.build.packages/OTHER/*.report; do
|
||||
file=`echo /.build.packages/SOURCES/repos/*/*/*/$rpm`
|
||||
file="${file//${eol}*/}" # bash internal "head -n 1"
|
||||
|
||||
rpm -qp "$file" --changelog --nodigest --nosignature 2>/dev/null > $out/changelogs/${name}
|
||||
LC_ALL=C.UTF-8 rpm -qp "$file" --changelog --nodigest --nosignature 2>/dev/null > $out/changelogs/${name}
|
||||
echo "$disturl" > $out/disturl/${name}
|
||||
done
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 26 13:44:48 UTC 2020 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
- write changelogs in UTF-8 encoding
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 25 07:34:24 UTC 2020 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
|
@ -44,6 +44,9 @@ Note: you need to use a releasetarget definition in your OBS repository
|
||||
mkdir -p $RPM_BUILD_ROOT/usr/lib/build/ $RPM_BUILD_ROOT/%_defaultdocdir/%name
|
||||
install -m 0755 %SOURCE2 $RPM_BUILD_ROOT/usr/lib/build/
|
||||
|
||||
%check
|
||||
bash -n $RPM_BUILD_ROOT/usr/lib/build/obsgendiff || exit 1
|
||||
|
||||
%files
|
||||
/usr/lib/build
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user