get info pages to the modern standard
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
This commit is contained in:
parent
c182759f62
commit
189700482f
14
ed.spec
14
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 <ignatenkobrain@fedoraproject.org> - 1.14.2-1
|
||||
|
Loading…
Reference in New Issue
Block a user