Hello community,
here is the log from the commit of package gnome-shell-extensions for
openSUSE:Factory checked in at 2020-07-24 09:49:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell-extensions (Old)
and /work/SRC/openSUSE:Factory/.gnome-shell-extensions.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gnome-shell-extensions"
Fri Jul 24 09:49:01 2020 rev:100 rq:821834 version:3.36.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/gnome-shell-extensions/gnome-shell-extensions.changes
2020-05-16 22:26:09.997252471 +0200
+++
/work/SRC/openSUSE:Factory/.gnome-shell-extensions.new.3592/gnome-shell-extensions.changes
2020-07-24 09:49:33.801000838 +0200
@@ -1,0 +2,6 @@
+Mon Jul 13 02:17:42 UTC 2020 - Xiaoguang Wang <[email protected]>
+
+- Update gnome-shell-extensions.spec: Replace is_opensuse with
+ sle_version (jsc#SLE-11720).
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gnome-shell-extensions.spec ++++++
--- /var/tmp/diff_new_pack.Nstx1Z/_old 2020-07-24 09:49:34.977002070 +0200
+++ /var/tmp/diff_new_pack.Nstx1Z/_new 2020-07-24 09:49:34.981002073 +0200
@@ -125,13 +125,13 @@
gnome-patch-translation-prepare po %{name}
%patch1000 -p1
-%if !0%{?is_opensuse}
+%if 0%{?sle_version}
%patch1001 -p1
%endif
# In openSUSE GNOME, we don't launch gnome-session directly, but wrap this
through a shell script, /usr/bin/gnome
sed -i "s:Exec=gnome-session:Exec=gnome:g" data/gnome-classic.desktop.in
cp %{SOURCE1} .
-%if !0%{?is_opensuse}
+%if 0%{?sle_version}
sed -i -e 's/openSUSE/SUSE Linux Enterprise/g' README.SUSE
%endif
@@ -155,14 +155,14 @@
install -d %{buildroot}/%{_datadir}/gnome-shell/extensions/[email protected]
cp [email protected]/*
%{buildroot}/%{_datadir}/gnome-shell/extensions/[email protected]
install -m0644 %{SOURCE7}
%{buildroot}/%{_datadir}/glib-2.0/schemas/00_org.gnome.shell.extensions.sle-classic.gschema.override
-%if !0%{?is_opensuse}
+%if 0%{?sle_version}
tar -xzvf %{SOURCE3}
install -d %{buildroot}%{_datadir}/gnome-shell/theme
cp SLE-theme/theme/* %{buildroot}%{_datadir}/gnome-shell/theme
%endif
%fdupes %{buildroot}%{_datadir}
-%if !0%{?is_opensuse}
+%if 0%{?sle_version}
# Prepare for 'default.desktop' being update-alternative handled, boo#1039756
mkdir -p %{buildroot}%{_sysconfdir}/alternatives
touch %{buildroot}%{_sysconfdir}/alternatives/default-xsession.desktop
@@ -172,7 +172,7 @@
ln -s %{_sysconfdir}/alternatives/default-waylandsession.desktop
%{buildroot}%{_datadir}/wayland-sessions/default.desktop
%endif
-%if !0%{?is_opensuse}
+%if 0%{?sle_version}
%post -n gnome-shell-classic
%{_sbindir}/update-alternatives --install
%{_datadir}/xsessions/default.desktop \
default-xsession.desktop %{_datadir}/xsessions/sle-classic.desktop 20
@@ -217,7 +217,7 @@
%{_datadir}/gnome-shell/extensions/[email protected]/sle-classic.css
%{_datadir}/gnome-shell/modes/sle-classic.json
%{_datadir}/gnome-shell/extensions/[email protected]/
-%if !0%{?is_opensuse}
+%if 0%{?sle_version}
%dir %{_datadir}/wayland-sessions
%{_datadir}/gnome-shell/theme/sle-background.png
%{_datadir}/xsessions/default.desktop