From e847eeee002547caeb51ad4388fd1e804f6f84ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Thu, 3 May 2007 22:15:41 +0000 Subject: [PATCH] - specutfundo() Changed files: rpm-build.sh -> 1.27 --- rpm-build.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rpm-build.sh b/rpm-build.sh index 9e93738..b7848d6 100644 --- a/rpm-build.sh +++ b/rpm-build.sh @@ -20,6 +20,15 @@ alias $dist-provides="ipoldek-$dist what-provides" alias $dist-tag="./builder -cf -T $(echo $dist | tr '[a-z]' '[A-Z]')-branch -r HEAD" alias $dist-verify=dist-verify +# undo spec utf8 +# note: it will do it blindly, so any lang other than -pl is most likely broken +specutfundo() { + local spec="$1" + iconv -futf8 -tlatin2 "$spec" > m + sed -e 's/\.UTF-8//' m > "$spec" + rm -f m +} + dist-verify() { poldek --sn $dist --sn $dist-ready --up poldek --sn $dist --sn $dist-ready --noignore --verify=deps "$@" -- 2.44.0