From 0598b39f1d6e902b045e030a0e5cbff3197f5339487189d6ec5db0f532c2e5a4 Mon Sep 17 00:00:00 2001 From: Michael Chang Date: Thu, 20 Aug 2020 03:35:26 +0000 Subject: [PATCH] Accepting request 827817 from home:gmbr3:libexecdir - Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075) OBS-URL: https://build.opensuse.org/request/show/827817 OBS-URL: https://build.opensuse.org/package/show/Base:System/sedutil?expand=0&rev=5 --- sedutil.changes | 5 +++++ sedutil.spec | 14 +++++++------- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/sedutil.changes b/sedutil.changes index 4380257..50f8f28 100644 --- a/sedutil.changes +++ b/sedutil.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 19 09:48:57 UTC 2020 - Callum Farmer + +- Fixes for %_libexecdir changing to /usr/libexec (bsc#1174075) + ------------------------------------------------------------------- Fri Sep 28 09:22:37 UTC 2018 - Jan Engelhardt diff --git a/sedutil.spec b/sedutil.spec index 7c32d19..2c1c9e7 100644 --- a/sedutil.spec +++ b/sedutil.spec @@ -16,7 +16,7 @@ # -%define _dracutmodulesdir %{_libexecdir}/dracut/modules.d +%define _dracutmodulesdir %{_prefix}/lib/dracut/modules.d Name: sedutil Version: 1.15.1 Release: 0 @@ -57,10 +57,10 @@ make %{?_smp_mflags} %install %make_install -install -m 0755 -d %{buildroot}/%{_dracutmodulesdir}/00sedutil/ -install -m 0755 %{SOURCE1} %{buildroot}/%{_dracutmodulesdir}/00sedutil/ -install -m 0755 %{SOURCE2} %{buildroot}/%{_dracutmodulesdir}/00sedutil/ -install -m 0755 %{SOURCE3} %{buildroot}/%{_sbindir}/ +install -m 0755 -d %{buildroot}%{_dracutmodulesdir}/00sedutil/ +install -m 0755 %{SOURCE1} %{buildroot}%{_dracutmodulesdir}/00sedutil/ +install -m 0755 %{SOURCE2} %{buildroot}%{_dracutmodulesdir}/00sedutil/ +install -m 0755 %{SOURCE3} %{buildroot}%{_sbindir}/ %files %defattr(-,root,root) @@ -69,8 +69,8 @@ install -m 0755 %{SOURCE3} %{buildroot}/%{_sbindir}/ %{_mandir}/man8/sedutil-cli.8* %{_sbindir}/sedutil-cli %{_sbindir}/linuxpba -%dir %{_libexecdir}/dracut -%dir %{_libexecdir}/dracut/modules.d +%dir %{_prefix}/lib/dracut +%dir %{_dracutmodulesdir} %dir %{_dracutmodulesdir}/00sedutil/ %{_dracutmodulesdir}/00sedutil/module-setup.sh %{_dracutmodulesdir}/00sedutil/linuxpba.sh