From 189700482f3a7a4a0766b76ee2bd6fd6befed35e Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Nov 09 2017 13:30:42 +0000 Subject: get info pages to the modern standard Signed-off-by: Igor Gnatenko --- diff --git a/ed.spec b/ed.spec index 4138f01..561e441 100644 --- a/ed.spec +++ b/ed.spec @@ -8,8 +8,8 @@ License: GPLv3+, GFDL #Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz Source: %{name}-%{version}.tar.xz URL: http://www.gnu.org/software/ed/ -Requires(post): /sbin/install-info -Requires(preun): /sbin/install-info +Requires(post): info +Requires(preun): info %description Ed is a line-oriented text editor, used to create, display, and modify @@ -31,16 +31,14 @@ rm -f stamp-h.in %install %make_install - -rm -f %{buildroot}/%{_infodir}/dir* -gzip -9qnf %{buildroot}/%{_infodir}/* +rm -vrf %{buildroot}%{_infodir}/dir %post -/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || : +/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun if [ $1 = 0 ] ; then - /sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || : + /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %clean @@ -52,7 +50,7 @@ fi %{_bindir}/red %{_mandir}/man1/ed.1* %{_mandir}/man1/red.1* -%{_infodir}/ed.info.gz +%{_infodir}/ed.info* %changelog * Thu Nov 09 2017 Igor Gnatenko - 1.14.2-1