Hello community,

here is the log from the commit of package PackageKit for openSUSE:Factory 
checked in at 2016-09-05 21:14:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/PackageKit (Old)
 and      /work/SRC/openSUSE:Factory/.PackageKit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "PackageKit"

Changes:
--------
--- /work/SRC/openSUSE:Factory/PackageKit/PackageKit.changes    2016-08-28 
12:17:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.PackageKit.new/PackageKit.changes       
2016-09-05 21:14:52.000000000 +0200
@@ -71,0 +72,5 @@
+Thu May 19 19:40:59 CEST 2016 - h...@suse.com
+
+- Update to GNOME 3.20.2 (FATE#318572).
+
+-------------------------------------------------------------------
@@ -95,0 +101,5 @@
+Thu Apr 14 15:59:34 UTC 2016 - mgo...@suse.com
+
+- Update to GNOME 3.20  Fate#318572
+
+-------------------------------------------------------------------
@@ -373,0 +384,8 @@
+Fri Sep 19 12:23:59 UTC 2014 - fcro...@suse.com
+
+- Add patch
+  
bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch:
+  ensure PackageKit asks to be restarted when restart_suggested is
+  part of the update flags. Patch by Roy Ley Mu (bnc#881245).
+
+-------------------------------------------------------------------
@@ -497 +515 @@
-Fri Jun  6 14:58:02 CEST 2014 - h...@suse.com
+Fri Jun  6 13:09:41 CEST 2014 - h...@suse.com
@@ -524 +542,17 @@
-- Drop PackageKit-dbus-interface-annotation.patch: fixed upstream.
+
+- Drop PackageKit-dbus-interface-annotation.patch,
+  bsc#951592-zypp-Raise-priority-of-ZYPP-stack-updates-if-a-secur.patch,
+  and PackageKit-gstreamer1.patch: fixed upstream.
+
+-------------------------------------------------------------------
+Mon Jan  5 10:24:22 CET 2014 - m...@suse.com
+
+- Add bsc#951592-zypp-Raise-priority-of-ZYPP-stack-updates-if-a-secur.patch:
+  zypp: Raise priority of ZYPP stack updates if a security patch
+  is shadowed. (bsc#951592)
+
+-------------------------------------------------------------------
+Sat Jan  4 08:42:16 UTC 2014 - fcro...@suse.com
+
+- Add PackageKit-gstreamer1.patch: Build against gstreamer 1.0, not
+  0.10.

New:
----
  
bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ PackageKit.spec ++++++
--- /var/tmp/diff_new_pack.FdMRQY/_old  2016-09-05 21:14:53.000000000 +0200
+++ /var/tmp/diff_new_pack.FdMRQY/_new  2016-09-05 21:14:53.000000000 +0200
@@ -40,6 +40,8 @@
 Patch7:         PackageKit-annotate-dbus-interface.patch
 # PATCH-FIX-UPSTREAM 
0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch bsc#981011 
gh#hughsie/PackageKit#148 -- Return error if invalid package IDs are detected; 
fixes segfault in some cases
 Patch8:         0001-zypp-Return-error-if-invalid-package-IDs-are-detecte.patch
+# PATCH-FIX-SLED 
bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch
 r...@suse.com -- gpk-update-viewer should restart after certain kind of update.
+Patch9:         
bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch
 BuildRequires:  NetworkManager-devel
 BuildRequires:  automake
 BuildRequires:  fdupes
@@ -228,6 +230,9 @@
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%if !0%{?is_opensuse}
+%patch9 -p1
+%endif
 translation-update-upstream
 
 %build



++++++ 
bnc#881245-update-test-affects-package-manager-should-restart-gpk-update-viewer.patch
 ++++++
Index: PackageKit-0.8.16/client/pk-console.c
===================================================================
--- PackageKit-0.8.16.orig/client/pk-console.c
+++ PackageKit-0.8.16/client/pk-console.c
@@ -893,6 +893,9 @@ pk_console_finished_cb (GObject *object,
        if (restart == PK_RESTART_ENUM_SYSTEM) {
                /* TRANSLATORS: a package needs to restart their system */
                g_print ("%s\n", _("Please restart the computer to complete the 
update."));
+        } else if (restart == PK_RESTART_ENUM_APPLICATION) {
+                /* TRANSLATORS: a package needs to restart this application */
+                g_print ("%s\n", _("Please restart this application to 
complete the update."));
        } else if (restart == PK_RESTART_ENUM_SESSION) {
                /* TRANSLATORS: a package needs to restart the session */
                g_print ("%s\n", _("Please logout and login to complete the 
update."));
Index: PackageKit-0.8.16/backends/zypp/pk-backend-zypp.cpp
===================================================================
--- PackageKit-0.8.16.orig/backends/zypp/pk-backend-zypp.cpp
+++ PackageKit-0.8.16/backends/zypp/pk-backend-zypp.cpp
@@ -1289,7 +1289,9 @@ zypp_check_restart (PkRestartEnum *resta
            ( patch->reloginSuggested () ||
              patch->restartSuggested () ||
              patch->rebootSuggested ()) ) {
-               if (patch->reloginSuggested () || patch->restartSuggested ())
+               if (patch->restartSuggested ())
+                       *restart = PK_RESTART_ENUM_APPLICATION;
+               if (patch->reloginSuggested ())
                        *restart = PK_RESTART_ENUM_SESSION;
                if (patch->rebootSuggested ())
                        *restart = PK_RESTART_ENUM_SYSTEM;

Reply via email to