Work around no “install -D” support in EPEL7

epel9
Benjamin A. Beasley 4 years ago
parent 71d1817168
commit 1b33289340

@ -2,7 +2,7 @@
Name: wdiff
Version: 1.2.2
Release: 18%{?dist}
Release: 19%{?dist}
Summary: Compare files on a word per word basis
# Entire source is GPLv3+, except wdiff.texi and the documentation built from
@ -75,7 +75,8 @@ rm -v doc/%{name}.info
%make_install
find '%{buildroot}' -type f -name '*gnulib.mo' -print -delete
rm '%{buildroot}%{_infodir}/dir'
install -t '%{buildroot}%{_pkgdocdir}' -D -p -m 0644 \
install -d '%{buildroot}%{_pkgdocdir}'
install -t '%{buildroot}%{_pkgdocdir}' -p -m 0644 \
ABOUT-NLS \
AUTHORS \
BACKLOG \
@ -112,6 +113,9 @@ cp -rp doc/%{name}.html %{buildroot}%{_pkgdocdir}/html
%changelog
* Mon Feb 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.2.2-19
- Work around no “install -D” support in EPEL7
* Mon Feb 08 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.2.2-18
- Improve summary and description text
- Build HTML and PDF versions of the documentation

Loading…
Cancel
Save