Accepting request 1173064 from home:qzhao:branches:Base:System

openSUSE community don't like macro style rm.

OBS-URL: https://build.opensuse.org/request/show/1173064
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=378
This commit is contained in:
Cliff Zhao 2024-05-10 08:31:26 +00:00 committed by Git OBS Bridge
parent c493ead1ca
commit 7bd3185ea3

View File

@ -401,16 +401,16 @@ Plymouth.
find %{buildroot} -type f -name "*.la" -delete
# Glow isn't quite ready for primetime
%{__rm} -rf %{buildroot}%{_datadir}/%{name}/themes/glow/
rm -rf %{buildroot}%{_datadir}/%{name}/themes/glow/
# We will nolonger install /etc/plymouthd.conf. The plymouthd will read /usr/share/plymouth/plymouthd.defaults to get default settings
# unless user create the config file explicitly(jsc#SLE-11637).
%{__rm} -f %{buildroot}%{_sysconfdir}/%{name}/plymouthd.conf
rm -f %{buildroot}%{_sysconfdir}/%{name}/plymouthd.conf
# Move logrotate files from user specific directory /etc/logrotate.d to vendor specific directory /usr/etc/logrotate.d.
%if 0%{?suse_version} > 1500
%{__mkdir} -p %{buildroot}%{_distconfdir}/logrotate.d
%{__mv} %{buildroot}%{_sysconfdir}/logrotate.d/bootlog %{buildroot}%{_distconfdir}/logrotate.d/bootlog
mkdir -p %{buildroot}%{_distconfdir}/logrotate.d
mv %{buildroot}%{_sysconfdir}/logrotate.d/bootlog %{buildroot}%{_distconfdir}/logrotate.d/bootlog
%endif
# Split lang to seperate package.