|
|
|
@ -46,14 +46,13 @@ produce a nicer display of word differences between the original files.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
# Fix ISO-8859-1-encoded files
|
|
|
|
|
tmp="$(mktemp)"
|
|
|
|
|
for fn in BACKLOG ChangeLog
|
|
|
|
|
do
|
|
|
|
|
iconv --from=ISO-8859-1 --to=UTF-8 "${fn}" > "${tmp}"
|
|
|
|
|
touch -r "${fn}" "${tmp}"
|
|
|
|
|
cp -p "${tmp}" "${fn}"
|
|
|
|
|
iconv --from=ISO-8859-1 --to=UTF-8 "${fn}" > "${fn}.iconv"
|
|
|
|
|
touch -r "${fn}" "${fn}.iconv"
|
|
|
|
|
chmod -v --reference="${fn}" "${fn}.iconv"
|
|
|
|
|
mv -f "${fn}.iconv" "${fn}"
|
|
|
|
|
done
|
|
|
|
|
rm "${tmp}"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|