From 7bd3185ea355e7095fb5c877ce4ec7149504438d777d399aa3ffaaad8a2d42cb Mon Sep 17 00:00:00 2001 From: Cliff Zhao Date: Fri, 10 May 2024 08:31:26 +0000 Subject: [PATCH] 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 --- plymouth.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plymouth.spec b/plymouth.spec index 76cd776..a10dbe0 100644 --- a/plymouth.spec +++ b/plymouth.spec @@ -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.