Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package PackageKit for openSUSE:Factory checked in at 2024-10-16 23:37:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/PackageKit (Old) and /work/SRC/openSUSE:Factory/.PackageKit.new.19354 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "PackageKit" Wed Oct 16 23:37:33 2024 rev:240 rq:1208158 version:1.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes 2024-09-13 14:31:57.913924820 +0200 +++ /work/SRC/openSUSE:Factory/.PackageKit.new.19354/PackageKit.changes 2024-10-16 23:37:55.114874827 +0200 @@ -1,0 +2,8 @@ +Tue Oct 15 11:48:02 UTC 2024 - Dominique Leuenberger <dims...@opensuse.org> + +- Drop rcFOO symlinks (PED-266) +- Drop usage of update-alternatives, but simplify installation of + /usr/libexec/gst-install-plugins-helper as a direct symlink to + pk-gstreamer-install. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ PackageKit.spec ++++++ --- /var/tmp/diff_new_pack.DaJ0ai/_old 2024-10-16 23:37:57.258964257 +0200 +++ /var/tmp/diff_new_pack.DaJ0ai/_new 2024-10-16 23:37:57.258964257 +0200 @@ -176,8 +176,6 @@ Summary: Install GStreamer codecs using PackageKit License: GPL-2.0-or-later Group: Productivity/Multimedia/Other -Requires(post): update-alternatives -Requires(postun): update-alternatives Recommends: %{name} = %{version} Supplements: (%{name} and gstreamer-plugins-base) @@ -318,15 +316,12 @@ mkdir -p %{buildroot}%{_unitdir}/system-update.target.wants/ ln -sf ../packagekit-offline-update.service %{buildroot}%{_unitdir}/system-update.target.wants/packagekit-offline-update.service %endif -# Prepare for update-alternatives -mkdir -p %{buildroot}%{_sysconfdir}/alternatives -ln -s -f %{_sysconfdir}/alternatives/gst-install-plugins-helper %{buildroot}/%{_libexecdir}/gst-install-plugins-helper -# Add rcFOO symlinks -mkdir -p %{buildroot}%{_sbindir} -ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcpackagekit -%if %{with offline_updates} -ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcpackagekit-offline-update -%endif + +# create a link that GStreamer will recognise +pushd %{buildroot}%{_libexecdir} > /dev/null +ln -s pk-gstreamer-install gst-install-plugins-helper +popd > /dev/null + # install transactions.db to another directory so that we can use tmpfiles.d to create a link to it under /var/lib/PackageKit install -m 0644 %{buildroot}%{_localstatedir}/lib/PackageKit/transactions.db %{buildroot}%{_datadir}/PackageKit/transactions.db rm %{buildroot}%{_localstatedir}/lib/PackageKit/transactions.db @@ -376,15 +371,6 @@ %service_del_postun_without_restart packagekit-offline-update.service %endif -%post gstreamer-plugin -update-alternatives --install %{_libexecdir}/gst-install-plugins-helper gst-install-plugins-helper %{_libexecdir}/pk-gstreamer-install 10 - -%postun gstreamer-plugin -# Note: we don't use "$1 -eq 0", to avoid issues if the package gets renamed -if [ ! -f %{_libexecdir}/pk-gstreamer-install ]; then - update-alternatives --remove gst-install-plugins-helper %{_libexecdir}/pk-gstreamer-install -fi - %post -n libpackagekit-glib2-18 -p /sbin/ldconfig %postun -n libpackagekit-glib2-18 -p /sbin/ldconfig @@ -416,7 +402,6 @@ %{_unitdir}/packagekit.service %{_unitdir}/packagekit-background.service %{_unitdir}/packagekit-background.timer -%{_sbindir}/rcpackagekit %{_mandir}/man?/*%{ext_man} %{_tmpfilesdir}/PackageKit.conf %if %{with offline_updates} @@ -424,7 +409,6 @@ %{_unitdir}/packagekit-offline-update.service %dir %{_unitdir}/system-update.target.wants %{_unitdir}/system-update.target.wants/packagekit-offline-update.service -%{_sbindir}/rcpackagekit-offline-update %endif %ghost %dir %{_localstatedir}/lib/PackageKit %ghost %dir %{_localstatedir}/cache/PackageKit @@ -448,7 +432,6 @@ %endif %files gstreamer-plugin -%ghost %{_sysconfdir}/alternatives/gst-install-plugins-helper %{_libexecdir}/gst-install-plugins-helper %{_libexecdir}/pk-gstreamer-install