Hello community,

here is the log from the commit of package chrome-gnome-shell for 
openSUSE:Factory checked in at 2017-11-08 15:10:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/chrome-gnome-shell (Old)
 and      /work/SRC/openSUSE:Factory/.chrome-gnome-shell.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "chrome-gnome-shell"

Wed Nov  8 15:10:43 2017 rev:6 rq:539467 version:9

Changes:
--------
--- /work/SRC/openSUSE:Factory/chrome-gnome-shell/chrome-gnome-shell.changes    
2017-05-31 12:19:14.904582686 +0200
+++ 
/work/SRC/openSUSE:Factory/.chrome-gnome-shell.new/chrome-gnome-shell.changes   
    2017-11-08 15:10:47.404610179 +0100
@@ -1,0 +2,20 @@
+Mon Nov  6 11:31:24 UTC 2017 - [email protected]
+
+- Allow the plugin to be disabled by removing the force-enabled
+  policy from upstream (boo#1061278).
+
+-------------------------------------------------------------------
+Thu Nov  2 16:01:28 UTC 2017 - [email protected]
+
+- Port to python3:
+  + BuildRequire python3-base: /usr/bin/python3 is not implicit
+    available in the buildroot yet.
+  + Replace python-requests Requires with python3-requests.
+  + Pass -DPYTHON_EXECUTABLE to cmake, pointing to
+    /usr/bin/python3.
+- Drop icon_theme_cache_post/postun scriptlets: no longer needed,
+  since file triggers hancdle icon cache updates now.
+- Add gobject-introspection BuildRequires: allow rpm to find/add
+  typelib() dependencies.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ chrome-gnome-shell.spec ++++++
--- /var/tmp/diff_new_pack.O6JLVU/_old  2017-11-08 15:10:47.960589881 +0100
+++ /var/tmp/diff_new_pack.O6JLVU/_new  2017-11-08 15:10:47.964589736 +0100
@@ -25,17 +25,18 @@
 Url:            https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome
 Source:         %{name}-%{version}.tar.xz
 BuildRequires:  cmake
+BuildRequires:  gobject-introspection
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  jq
 BuildRequires:  p7zip
-Requires:       python-requests
+BuildRequires:  python3-base
+Requires:       python3-requests
 # Auto-install when the user uses GNOME Shell and any of the (known) supported 
browsers
 Supplements:    packageand(gnome-shell:MozillaFirefox)
 Supplements:    packageand(gnome-shell:chromium)
 Supplements:    packageand(gnome-shell:google-chrome-stable)
 Supplements:    packageand(gnome-shell:opera)
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%py_requires
 
 %description
 Browser extension for Google Chrome/Chromium, Firefox, Vivaldi, Opera (and 
other
@@ -47,17 +48,14 @@
 %setup -q
 
 %build
-%cmake
+%cmake -DPYTHON_EXECUTABLE=$(which python3)
 make %{?_smp_mflags}
 
 %install
 %cmake_install
 
-%post
-%icon_theme_cache_post gnome
-
-%postun
-%icon_theme_cache_postun gnome
+# We do like to have the plugin installed, but it stays the users choice to 
enable/disable it in the browser
+rm 
%{buildroot}%{_sysconfdir}/{chromium,opt/chrome}/policies/managed/chrome-gnome-shell.json
 
 %files
 %defattr(-,root,root)
@@ -65,11 +63,7 @@
 %config %{_sysconfdir}/chromium/
 %config %{_sysconfdir}/opt/chrome/
 %{_bindir}/chrome-gnome-shell
-%if 0%{?suse_version} < 1330
-%{python_sitelib}/chrome_gnome_shell-0.0.0-py2.7.egg-info
-%else
-%{python2_sitelib}/chrome_gnome_shell-0.0.0-py2.7.egg-info
-%endif
+%{python3_sitelib}/chrome_gnome_shell-0.0.0-*egg-info
 %{_libdir}/mozilla/
 %{_datadir}/applications/org.gnome.ChromeGnomeShell.desktop
 %dir %{_datadir}/dbus-1


Reply via email to