Accepting request 544742 from home:RBrownSUSE:branches:network:utilities
Replace references to /var/adm/fillup-templates with new %_fillupdir macro (boo#1069468) OBS-URL: https://build.opensuse.org/request/show/544742 OBS-URL: https://build.opensuse.org/package/show/network:utilities/nbd?expand=0&rev=52
This commit is contained in:
parent
4a017a9336
commit
d5c2c9216b
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 23 13:46:10 UTC 2017 - rbrown@suse.com
|
||||
|
||||
- Replace references to /var/adm/fillup-templates with new
|
||||
%_fillupdir macro (boo#1069468)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 13 09:58:54 UTC 2017 - olaf@aepfle.de
|
||||
|
||||
|
9
nbd.spec
9
nbd.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: nbd
|
||||
Version: 3.16.1
|
||||
Release: 0
|
||||
@ -80,7 +85,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/nbd-server
|
||||
touch %{buildroot}%{_sysconfdir}/nbd-server/config
|
||||
touch %{buildroot}%{_sysconfdir}/nbd-server/allow
|
||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/nbd-server/config.example
|
||||
install -D -p -m 0644 %{SOURCE4} %{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server
|
||||
install -D -p -m 0644 %{SOURCE4} %{buildroot}%{_fillupdir}/sysconfig.%{name}-server
|
||||
|
||||
%post
|
||||
export DISABLE_RESTART_ON_UPDATE=yes
|
||||
@ -137,6 +142,6 @@ fi
|
||||
%config %{_sysconfdir}/nbd-server/config.example
|
||||
%dir %{_prefix}/lib/modules-load.d/
|
||||
%{_prefix}/lib/modules-load.d/nbd.conf
|
||||
%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-server
|
||||
%{_fillupdir}/sysconfig.%{name}-server
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user