SHA256
1
0
forked from pool/openvswitch
Dominique Leuenberger 2017-11-25 07:43:35 +00:00 committed by Git OBS Bridge
commit cb220d6f5e
2 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Nov 23 13:38:56 UTC 2017 - rbrown@suse.com
- Replace references to /var/adm/fillup-templates with new
%_fillupdir macro (boo#1069468)
-------------------------------------------------------------------
Fri Sep 29 19:46:56 UTC 2017 - mchandras@suse.de

View File

@ -17,6 +17,11 @@
# needssslcertforbuild
#Compat macro for new _fillupdir macro introduced in Nov 2017
%if ! %{defined _fillupdir}
%define _fillupdir /var/adm/fillup-templates
%endif
%define lname libopenvswitch-2_8-0
%ifarch aarch64 x86_64 %{ix86}
# DPDK enabled by default
@ -388,7 +393,7 @@ done
%endif
install -D -m 644 rhel/usr_share_openvswitch_scripts_systemd_sysconfig.template \
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
%{buildroot}%{_fillupdir}/sysconfig.openvswitch
install -d -m 755 %{buildroot}%{_sysconfdir}/logrotate.d
install -d -m 755 %{buildroot}%{_localstatedir}/log/openvswitch
@ -603,7 +608,7 @@ export DISABLE_RESTART_ON_UPDATE=yes
%{_unitdir}/openvswitch.service
%{_unitdir}/ovs-vswitchd.service
%{_unitdir}/ovsdb-server.service
%{_localstatedir}/adm/fillup-templates/sysconfig.openvswitch
%{_fillupdir}/sysconfig.openvswitch
%dir %{_localstatedir}/log/openvswitch
%if %{with dpdk}
%{_prefix}/lib/udev/rules.d/91-vfio.rules