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: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
URL: http://www.gnu.org/software/ed/
|
URL: http://www.gnu.org/software/ed/
|
||||||
Requires(post): /sbin/install-info
|
Requires(post): info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): info
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ed is a line-oriented text editor, used to create, display, and modify
|
Ed is a line-oriented text editor, used to create, display, and modify
|
||||||
@ -31,16 +31,14 @@ rm -f stamp-h.in
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
|
rm -vrf %{buildroot}%{_infodir}/dir
|
||||||
rm -f %{buildroot}/%{_infodir}/dir*
|
|
||||||
gzip -9qnf %{buildroot}/%{_infodir}/*
|
|
||||||
|
|
||||||
%post
|
%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
|
%preun
|
||||||
if [ $1 = 0 ] ; then
|
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
|
fi
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -52,7 +50,7 @@ fi
|
|||||||
%{_bindir}/red
|
%{_bindir}/red
|
||||||
%{_mandir}/man1/ed.1*
|
%{_mandir}/man1/ed.1*
|
||||||
%{_mandir}/man1/red.1*
|
%{_mandir}/man1/red.1*
|
||||||
%{_infodir}/ed.info.gz
|
%{_infodir}/ed.info*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Nov 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.14.2-1
|
* Thu Nov 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.14.2-1
|
||||||
|
Loading…
Reference in New Issue
Block a user