Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40a45917ca |
1 changed files with 8 additions and 6 deletions
14
wdiff.spec
14
wdiff.spec
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: wdiff
|
||||
Version: 1.2.2
|
||||
Release: 19%{?dist}
|
||||
Release: 20%{?dist}
|
||||
Summary: Compare files on a word per word basis
|
||||
|
||||
# Entire source is GPLv3+, except wdiff.texi and the documentation built from
|
||||
|
|
@ -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
|
||||
|
|
@ -113,6 +112,9 @@ cp -rp doc/%{name}.html %{buildroot}%{_pkgdocdir}/html
|
|||
|
||||
|
||||
%changelog
|
||||
* Sat Oct 09 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.2.2-20
|
||||
- Fix unreadable BACKLOG and ChangeLog files
|
||||
|
||||
* Mon Feb 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.2.2-19
|
||||
- Work around no “install -D” support in EPEL7
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue