1
0

Accepting request 796146 from home:qzhao:branches:GNOME:Factory

Update gnome-initial-setup.spec: Drop the is_opensuse macro to eliminate in behavior in between SLE-15 and openSUSE-Leap (jsc#SLE-11857).

OBS-URL: https://build.opensuse.org/request/show/796146
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-initial-setup?expand=0&rev=77
This commit is contained in:
Dominique Leuenberger 2020-04-27 17:36:37 +00:00 committed by Git OBS Bridge
parent c51f0878d6
commit 4834e8abc5
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Apr 15 06:18:12 UTC 2020 - Cliff Zhao <qzhao@suse.com>
- Update gnome-initial-setup.spec: Drop the is_opensuse macro to
eliminate in behavior in between SLE-15 and openSUSE-Leap
(jsc#SLE-11857).
-------------------------------------------------------------------
Sat Mar 28 16:48:16 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -69,7 +69,7 @@ Initial assistant, helping you to get the system up and running.
%prep
%setup -q
%if !0%{?is_opensuse}
%if 0%{?sle_version} >= 150200
%patch0 -p1
%endif
@ -82,7 +82,7 @@ Initial assistant, helping you to get the system up and running.
%install
%meson_install
%if !0%{?is_opensuse}
%if 0%{?sle_version} >= 150200
rm -rf %{buildroot}%{_libexecdir}/gnome-welcome-tour
rm -rf %{buildroot}%{_sysconfdir}/xdg/autostart/gnome-welcome-tour.desktop
%endif
@ -119,7 +119,7 @@ useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} || :
%{_userunitdir}/gnome-session.target.wants/gnome-welcome-tour.service
%dir %{_userunitdir}/gnome-session@gnome-initial-setup.target.wants
%{_userunitdir}/gnome-session@gnome-initial-setup.target.wants/gnome-initial-setup.service
%if 0%{?is_opensuse}
%if 0%{?sle_version} < 150200
%{_libexecdir}/gnome-welcome-tour
%{_sysconfdir}/xdg/autostart/gnome-welcome-tour.desktop
%endif