Fix alternatives

- related: #1897928
epel8
Nikola Forró 4 years ago
parent f93e9f44d7
commit a1fed4689e

@ -1,6 +1,6 @@
Name: s-nail Name: s-nail
Version: 14.9.22 Version: 14.9.22
Release: 1%{?dist} Release: 2%{?dist}
Summary: Environment for sending and receiving mail Summary: Environment for sending and receiving mail
# Everything is ISC except parts coming from the original Heirloom mailx which are BSD # Everything is ISC except parts coming from the original Heirloom mailx which are BSD
@ -102,9 +102,9 @@ fi
%post %post
# set up the alternatives files # set up the alternatives files
%{_sbindir}/update-alternatives --install %{_bindir}/mailx mailx %{_bindir}/mailx.%{name} 100 \ %{_sbindir}/update-alternatives --install %{_bindir}/mailx mailx %{_bindir}/mailx.%{name} 100 \
--slave %{_bindir}/Mail Mail %{_bindir}/%{name} \ --slave %{_bindir}/Mail Mail %{_bindir}/mailx.%{name} \
--slave %{_bindir}/mail mail %{_bindir}/%{name} \ --slave %{_bindir}/mail mail %{_bindir}/mailx.%{name} \
--slave %{_bindir}/nail nail %{_bindir}/%{name} \ --slave %{_bindir}/nail nail %{_bindir}/mailx.%{name} \
--slave %{_mandir}/man1/mailx.1.gz mailx.1.gz %{_mandir}/man1/mailx.%{name}.1.gz \ --slave %{_mandir}/man1/mailx.1.gz mailx.1.gz %{_mandir}/man1/mailx.%{name}.1.gz \
--slave %{_mandir}/man1/Mail.1.gz Mail.1.gz %{_mandir}/man1/mailx.%{name}.1.gz \ --slave %{_mandir}/man1/Mail.1.gz Mail.1.gz %{_mandir}/man1/mailx.%{name}.1.gz \
--slave %{_mandir}/man1/mail.1.gz mail.1.gz %{_mandir}/man1/mailx.%{name}.1.gz \ --slave %{_mandir}/man1/mail.1.gz mail.1.gz %{_mandir}/man1/mailx.%{name}.1.gz \
@ -133,6 +133,10 @@ fi
%changelog %changelog
* Tue Mar 16 2021 Nikola Forró <nforro@redhat.com> - 14.9.22-2
- Fix alternatives
related: #1897928
* Wed Feb 24 2021 Nikola Forró <nforro@redhat.com> - 14.9.22-1 * Wed Feb 24 2021 Nikola Forró <nforro@redhat.com> - 14.9.22-1
- New upstream release 14.9.22 - New upstream release 14.9.22
resolves: #1932122 resolves: #1932122

Loading…
Cancel
Save