Accepting request 785490 from X11:windowmanagers

OBS-URL: https://build.opensuse.org/request/show/785490
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/icewm?expand=0&rev=63
This commit is contained in:
Dominique Leuenberger 2020-03-19 18:45:46 +00:00 committed by Git OBS Bridge
commit d54eb28724
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Mar 16 03:45:48 UTC 2020 - Yifan Jiang <yfjiang@suse.com>
- Improve build tag consistency between SLE and Leap.
* Recommend polkit-gnome to both Leap and SLE.
* Disable icewm-preferences.patch for Leap. The patch makes sense
to icewm-config-upstream while Leap uses icewm-theme-branding
the provide the theme.
-------------------------------------------------------------------
Thu Mar 5 02:46:24 UTC 2020 - Yifan Jiang <yfjiang@suse.com>

View File

@ -74,7 +74,7 @@ Recommends: icewm-lang = %{version}
# For locking you need xscreensaver
Recommends: xscreensaver
Recommends: xclock
%if !0%{?is_opensuse}
%if 0%{?sle_version}
Recommends: polkit-gnome
%endif
Provides: icewm-gnome = %{version}
@ -188,17 +188,15 @@ make %{?_smp_mflags} clean
--enable-menus-fdo \
--enable-i18n
make %{?_smp_mflags}
%if !0%{?sle_version}
# Patch generated lib/preferences file.
patch -p1 -i %{PATCH99}
# And use proper branding
%if 0%{?is_opensuse}
wallpaper="openSUSEdefault"
%else
wallpaper="SLEdefault"
%endif
sed -i \
-e "s:BRANDING_PICTURE:%{_datadir}/wallpapers/$wallpaper/contents/images/1920x1080.jpg:" \
src/preferences
%endif
%install
%make_install