Accepting request 1055711 from home:lnussel:usrmerge
Replace transitional %usrmerged macro with regular version check (boo#1206798) OBS-URL: https://build.opensuse.org/request/show/1055711 OBS-URL: https://build.opensuse.org/package/show/server:mail/mailx?expand=0&rev=73
This commit is contained in:
parent
2fc9076281
commit
e62c120756
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 27 13:09:42 UTC 2022 - Ludwig Nussel <lnussel@suse.com>
|
||||||
|
|
||||||
|
- Replace transitional %usrmerged macro with regular version check (boo#1206798)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 21 10:31:05 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
Mon Mar 21 10:31:05 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
14
mailx.spec
14
mailx.spec
@ -116,7 +116,7 @@ minor enhancements like the ability to set a "From:" address.
|
|||||||
%if ! %{with libalternatives}
|
%if ! %{with libalternatives}
|
||||||
# create symlinks for update-alternatives
|
# create symlinks for update-alternatives
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
ln -sf %{_sysconfdir}/alternatives/binmail %{buildroot}/bin/mail
|
ln -sf %{_sysconfdir}/alternatives/binmail %{buildroot}/bin/mail
|
||||||
%endif
|
%endif
|
||||||
ln -sf %{_sysconfdir}/alternatives/Mail %{buildroot}/usr/bin/Mail
|
ln -sf %{_sysconfdir}/alternatives/Mail %{buildroot}/usr/bin/Mail
|
||||||
@ -124,7 +124,7 @@ minor enhancements like the ability to set a "From:" address.
|
|||||||
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 %{_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}
|
||||||
#
|
#
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
ln -sf %{_bindir}/mailx %{buildroot}%{_sysconfdir}/alternatives/binmail
|
ln -sf %{_bindir}/mailx %{buildroot}%{_sysconfdir}/alternatives/binmail
|
||||||
%endif
|
%endif
|
||||||
ln -sf %{_bindir}/mailx %{buildroot}%{_sysconfdir}/alternatives/Mail
|
ln -sf %{_bindir}/mailx %{buildroot}%{_sysconfdir}/alternatives/Mail
|
||||||
@ -133,7 +133,7 @@ minor enhancements like the ability to set a "From:" address.
|
|||||||
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}
|
||||||
%else
|
%else
|
||||||
ln -sf %{_bindir}/alts %{buildroot}%{_bindir}/Mail
|
ln -sf %{_bindir}/alts %{buildroot}%{_bindir}/Mail
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
ln -sf %{_bindir}/alts %{buildroot}/bin/Mail
|
ln -sf %{_bindir}/alts %{buildroot}/bin/Mail
|
||||||
%endif
|
%endif
|
||||||
mkdir -p %{buildroot}%{_datadir}/libalternatives/Mail
|
mkdir -p %{buildroot}%{_datadir}/libalternatives/Mail
|
||||||
@ -143,7 +143,7 @@ man=mailx.1
|
|||||||
group=mail, Mail
|
group=mail, Mail
|
||||||
EOF
|
EOF
|
||||||
ln -sf %{_bindir}/alts %{buildroot}%{_bindir}/mail
|
ln -sf %{_bindir}/alts %{buildroot}%{_bindir}/mail
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
ln -sf %{_bindir}/alts %{buildroot}/bin/mail
|
ln -sf %{_bindir}/alts %{buildroot}/bin/mail
|
||||||
%endif
|
%endif
|
||||||
mkdir -p %{buildroot}%{_datadir}/libalternatives/mail
|
mkdir -p %{buildroot}%{_datadir}/libalternatives/mail
|
||||||
@ -160,7 +160,7 @@ EOF
|
|||||||
%post
|
%post
|
||||||
%{_sbindir}/update-alternatives --quiet --force \
|
%{_sbindir}/update-alternatives --quiet --force \
|
||||||
--install %{_bindir}/mail mail %{_bindir}/mailx 20 \
|
--install %{_bindir}/mail mail %{_bindir}/mailx 20 \
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
--slave /bin/mail binmail %{_bindir}/mailx \
|
--slave /bin/mail binmail %{_bindir}/mailx \
|
||||||
%endif
|
%endif
|
||||||
--slave %{_bindir}/Mail Mail %{_bindir}/mailx \
|
--slave %{_bindir}/Mail Mail %{_bindir}/mailx \
|
||||||
@ -185,13 +185,13 @@ fi
|
|||||||
%license COPYING
|
%license COPYING
|
||||||
%doc README manual.ps.gz nail.rc
|
%doc README manual.ps.gz nail.rc
|
||||||
%config /etc/mail.rc
|
%config /etc/mail.rc
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
/bin/mail
|
/bin/mail
|
||||||
%endif
|
%endif
|
||||||
/usr/bin/Mail
|
/usr/bin/Mail
|
||||||
/usr/bin/mail
|
/usr/bin/mail
|
||||||
%if ! 0%{with libalternatives}
|
%if ! 0%{with libalternatives}
|
||||||
%if !0%{?usrmerged}
|
%if 0%{?suse_version} < 1550
|
||||||
%ghost %config %{_sysconfdir}/alternatives/binmail
|
%ghost %config %{_sysconfdir}/alternatives/binmail
|
||||||
%endif
|
%endif
|
||||||
%ghost %config %{_sysconfdir}/alternatives/Mail
|
%ghost %config %{_sysconfdir}/alternatives/Mail
|
||||||
|
Loading…
Reference in New Issue
Block a user