- Use is_opensuse to simplify if/else block

OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=164
This commit is contained in:
Ismail Dönmez 2015-09-21 12:15:27 +00:00 committed by Git OBS Bridge
parent 2cd47c3a8d
commit a6935ef222
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Sep 21 12:15:11 UTC 2015 - idonmez@suse.com
- Use is_opensuse to simplify if/else block
-------------------------------------------------------------------
Fri Sep 4 09:41:01 UTC 2015 - idonmez@suse.com

View File

@ -367,10 +367,10 @@ sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
# Change the default theme
%if %{suse_version} == 1315
sed -i -e 's/spinner/SLE/g' src/plymouthd.defaults
%else
%if %{is_opensuse}
sed -i -e 's/spinner/openSUSE/g' src/plymouthd.defaults
%else
sed -i -e 's/spinner/SLE/g' src/plymouthd.defaults
%endif
%build