Adrian Schröter 2020-08-28 11:59:32 +00:00 committed by Git OBS Bridge
parent 00ce426d40
commit f52a7bbd6d
3 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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>

View File

@ -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