From 7f43bbba4bc72c937c98da90e2ef467e3a3e1f54 Mon Sep 17 00:00:00 2001 From: Richard Brown Date: Thu, 23 Nov 2017 17:32:44 +0100 Subject: [PATCH] Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) --- package/yast2-firstboot.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package/yast2-firstboot.spec b/package/yast2-firstboot.spec index 10f3a83..011a8ca 100644 --- a/package/yast2-firstboot.spec +++ b/package/yast2-firstboot.spec @@ -16,6 +16,11 @@ # +#Compat macro for new _fillupdir macro introduced in Nov 2017 +%if ! %{defined _fillupdir} + %define _fillupdir /var/adm/fillup-templates +%endif + Name: yast2-firstboot Version: 3.1.17 Release: 0 @@ -89,7 +94,7 @@ mkdir -p $RPM_BUILD_ROOT/usr/share/firstboot/scripts %{yast_moduledir}/Firstboot.* %dir %{yast_scrconfdir} %{yast_scrconfdir}/*.scr -/var/adm/fillup-templates/sysconfig.firstboot +%{_fillupdir}/sysconfig.firstboot /usr/share/firstboot %doc %{yast_docdir} %doc COPYING