Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package busybox-links for openSUSE:Factory checked in at 2022-02-11 23:06:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/busybox-links (Old) and /work/SRC/openSUSE:Factory/.busybox-links.new.1956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "busybox-links" Fri Feb 11 23:06:35 2022 rev:21 rq:953259 version:MACRO Changes: -------- --- /work/SRC/openSUSE:Factory/busybox-links/busybox-links.changes 2021-12-02 02:10:41.991496088 +0100 +++ /work/SRC/openSUSE:Factory/.busybox-links.new.1956/busybox-links.changes 2022-02-11 23:06:39.062479460 +0100 @@ -1,0 +2,5 @@ +Thu Feb 10 15:10:02 UTC 2022 - Thorsten Kukuk <[email protected]> + +- Drop update-alternatives support + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ busybox-links.spec ++++++ --- /var/tmp/diff_new_pack.qvmuKh/_old 2022-02-11 23:06:43.014490438 +0100 +++ /var/tmp/diff_new_pack.qvmuKh/_new 2022-02-11 23:06:43.018490449 +0100 @@ -1,7 +1,7 @@ # # spec file for package busybox-links # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,12 +16,6 @@ # -%if 0%{?suse_version} > 1500 -%bcond_with alternatives -%else -%bcond_without alternatives -%endif - Name: busybox-links Version: %(rpm -q busybox --qf '%%{VERSION}') Release: 0 @@ -165,14 +159,8 @@ Requires: busybox = %{version} Requires(post): busybox Requires(preun):busybox -%if %{with alternatives} -BuildRequires: update-alternatives -Requires(post): update-alternatives -Requires(preun):update-alternatives -%else Provides: alternative(sh) Conflicts: alternative(sh) -%endif Obsoletes: busybox-ash < %{version} %description -n busybox-sh @@ -646,13 +634,7 @@ mkdir -p %{buildroot}%{_bindir} bash ./busybox.install %{buildroot} --symlinks rm %{buildroot}%{_bindir}/busybox -%if %{with alternatives} -# sh needs to be handled by update-alternatives -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -ln -sf %{_sysconfdir}/alternatives/sh %{buildroot}%{_bindir}/sh -%else ln -sf %{_bindir}/busybox %{buildroot}%{_bindir}/sh -%endif %if !0%{?usrmerged} ln -sf %{_bindir}/sh %{buildroot}/bin/sh %endif @@ -661,17 +643,6 @@ sed -e 's|PAGER-more|PAGER-less|g' %{buildroot}%{_bindir}/zmore > %{buildroot}%{_bindir}/zless chmod 755 %{buildroot}%{_bindir}/zless -%if %{with alternatives} -%post -n busybox-sh -p /usr/bin/ash -%{_sbindir}/update-alternatives --quiet --force \ - --install %{_bindir}/sh sh %{_bindir}/busybox 10000 - -%preun -n busybox-sh -p /usr/bin/ash -if test "$1" = 0; then - %{_sbindir}/update-alternatives --quiet --remove sh %{_bindir}/busybox -fi -%endif - %files %files -n busybox-adduser -f filelist-shadow.txt @@ -776,13 +747,5 @@ %files -n busybox-xz -f filelist-xz.txt %files -n busybox-sh -f filelist-sh.txt -%if %{with alternatives} -%ghost %config %{_sysconfdir}/alternatives/sh -%else -%if !0%{?usrmerged} -/bin/sh -%endif -%{_bindir}/sh -%endif %changelog
