Hello community, here is the log from the commit of package mailx for openSUSE:Factory checked in at 2018-11-20 22:30:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mailx (Old) and /work/SRC/openSUSE:Factory/.mailx.new.19453 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mailx" Tue Nov 20 22:30:36 2018 rev:41 rq:650161 version:12.5 Changes: -------- --- /work/SRC/openSUSE:Factory/mailx/mailx.changes 2018-11-18 23:19:52.638363075 +0100 +++ /work/SRC/openSUSE:Factory/.mailx.new.19453/mailx.changes 2018-11-20 22:30:47.270656663 +0100 @@ -1,0 +2,5 @@ +Mon Nov 19 09:47:38 UTC 2018 - Dr. Werner Fink <[email protected]> + +- Repair ghost links used by update-alternatives + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mailx.spec ++++++ --- /var/tmp/diff_new_pack.tEIqER/_old 2018-11-20 22:30:49.798655128 +0100 +++ /var/tmp/diff_new_pack.tEIqER/_new 2018-11-20 22:30:49.806655122 +0100 @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -96,11 +96,18 @@ %make_install PREFIX=/usr rm -rf %{buildroot}/bin mkdir %{buildroot}/bin - ln -sf ../usr/bin/mailx %{buildroot}/bin/mail - ln -sf mailx %{buildroot}/usr/bin/Mail - ln -sf mailx %{buildroot}/usr/bin/mail - ln -sf mailx.1.gz %{buildroot}%{_mandir}/man1/Mail.1.gz - ln -sf mailx.1.gz %{buildroot}%{_mandir}/man1/mail.1.gz + mkdir -p %{buildroot}%{_sysconfdir}/alternatives + ln -sf %{_sysconfdir}/alternatives/binmail %{buildroot}/bin/mail + ln -sf %{_sysconfdir}/alternatives/Mail %{buildroot}/usr/bin/Mail + ln -sf %{_sysconfdir}/alternatives/mail %{buildroot}/usr/bin/mail + ln -sf %{_sysconfdir}/alternatives/Mail.1%{?ext_man} %{buildroot}%{_mandir}/man1/Mail.1%{?ext_man} + ln -sf %{_sysconfdir}/alternatives/mail.1%{?ext_man} %{buildroot}%{_mandir}/man1/mail.1%{?ext_man} + # + ln -sf %{_bindir}/mailx %{buildroot}%{_sysconfdir}/alternatives/binmail + ln -sf %{_bindir}/mailx %{buildroot}%{_sysconfdir}/alternatives/Mail + ln -sf %{_bindir}/mailx %{buildroot}%{_sysconfdir}/alternatives/mail + ln -sf %{_mandir}/man1/mailx.1%{?ext_man} %{buildroot}%{_sysconfdir}/alternatives/Mail.1%{?ext_man} + ln -sf %{_mandir}/man1/mailx.1%{?ext_man} %{buildroot}%{_sysconfdir}/alternatives/mail.1%{?ext_man} install -m 0644 mail.rc %{buildroot}/etc mkdir -p %{buildroot}%{_defaultdocdir}/%{name} @@ -113,7 +120,9 @@ --slave %{_mandir}/man1/Mail.1%{?ext_man} Mail.1%{?ext_man} %{_mandir}/man1/mailx.1%{?ext_man} %preun -%{_sbindir}/update-alternatives --quiet --force --remove mail %{_bindir}/mu-mail +if test ! -e %{_bindir}/mailx; then + %{_sbindir}/update-alternatives --quiet --force --remove mail %{_bindir}/mailx +fi %files %defattr(-,root,root)
