- 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:
parent
2cd47c3a8d
commit
a6935ef222
@ -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
|
Fri Sep 4 09:41:01 UTC 2015 - idonmez@suse.com
|
||||||
|
|
||||||
|
@ -367,10 +367,10 @@ sed -i "s/__DATE__/\"$(stat -c %y %{_sourcedir}/%{name}.changes)\"/" src/main.c
|
|||||||
|
|
||||||
# Change the default theme
|
# Change the default theme
|
||||||
|
|
||||||
%if %{suse_version} == 1315
|
%if %{is_opensuse}
|
||||||
sed -i -e 's/spinner/SLE/g' src/plymouthd.defaults
|
|
||||||
%else
|
|
||||||
sed -i -e 's/spinner/openSUSE/g' src/plymouthd.defaults
|
sed -i -e 's/spinner/openSUSE/g' src/plymouthd.defaults
|
||||||
|
%else
|
||||||
|
sed -i -e 's/spinner/SLE/g' src/plymouthd.defaults
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user