Accepting request 544788 from home:RBrownSUSE:branches:M17N

Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468)

OBS-URL: https://build.opensuse.org/request/show/544788
OBS-URL: https://build.opensuse.org/package/show/M17N/fwnn?expand=0&rev=21
This commit is contained in:
Hillwood Yang 2017-11-24 07:41:32 +00:00 committed by Git OBS Bridge
parent 6b0a404b87
commit 5dda082ac7
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:49:55 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 13 22:33:24 UTC 2016 - jengelh@inai.de Mon Jun 13 22:33:24 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package fwnn # spec file for package fwnn
# #
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,11 @@
# #
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
%define base_version 1.1.1 %define base_version 1.1.1
%define alpha_version a023 %define alpha_version a023
Name: fwnn Name: fwnn
@ -268,7 +273,7 @@ done
#---------------------------------------------------------------------- #----------------------------------------------------------------------
# Make sure directories for of boot script installation exist: # Make sure directories for of boot script installation exist:
mkdir -p %{buildroot}%{_sysconfdir}/init.d mkdir -p %{buildroot}%{_sysconfdir}/init.d
mkdir -p %{buildroot}%{_localstatedir}/adm/fillup-templates mkdir -p %{buildroot}%{_fillupdir}
mkdir -p %{buildroot}%{_sbindir} mkdir -p %{buildroot}%{_sbindir}
#---------------------------------------------------------------------- #----------------------------------------------------------------------
# Install boot scripts: # Install boot scripts: