From 47ec395597e35deca76f2045f7e5fad62c84bc6d2a79cacd4ec3c6c4a579e58c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 28 Jan 2025 17:46:41 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main powerpc-utils revision 1c10fd5d9a0f96460c214b2491ed158a --- powerpc-utils.changes | 5 +++++ powerpc-utils.spec | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/powerpc-utils.changes b/powerpc-utils.changes index 7a79a6d..b586605 100644 --- a/powerpc-utils.changes +++ b/powerpc-utils.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 27 17:34:47 UTC 2025 - Michal Suchanek + +- Drop sysvinit service use (bsc#1236480 jsc#-264). + ------------------------------------------------------------------- Thu Nov 21 08:10:24 UTC 2024 - Michal Suchanek diff --git a/powerpc-utils.spec b/powerpc-utils.spec index d431703..8f1d0cb 100644 --- a/powerpc-utils.spec +++ b/powerpc-utils.spec @@ -1,7 +1,7 @@ # # spec file for package powerpc-utils # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -42,7 +42,9 @@ Requires: findutils Requires: gawk Requires: grep Requires: kmod-compat +%if 0%{?suse_version} < 1550 Requires: systemd-sysvinit +%endif Requires: udev Requires: util-linux Recommends: powerpc-utils-python @@ -71,6 +73,7 @@ make CFLAGS="%{optflags}" %{?_smp_mflags} %if 0%{?suse_version} < 1550 mkdir %{buildroot}/sbin ln -sf %{_sbindir}/lsprop %{buildroot}/sbin/lsprop +ln -s service %{buildroot}%{_sbindir}/rcsmt_off %endif install -m 755 %{SOURCE1} %{buildroot}%{_sbindir}/nvsetenv ln -sf serv_config %{buildroot}%{_sbindir}/uspchrp @@ -83,8 +86,6 @@ ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_mem ln -sf drmgr %{buildroot}%{_sbindir}/drslot_chrp_hea ln -sf drmgr %{buildroot}%{_sbindir}/drmig_chrp_pmig -ln -s service %{buildroot}%{_sbindir}/rcsmt_off - # remove docu installed by make_install as we hand-install them in %%files rm -rf %{buildroot}%{_docdir}/%{name}/*