Accepting request 284208 from home:daniel_dpi:branches:network

Just a little debug of the .spec to build the SLES11-SP3 version.

OBS-URL: https://build.opensuse.org/request/show/284208
OBS-URL: https://build.opensuse.org/package/show/network/openvswitch?expand=0&rev=73
This commit is contained in:
Andrey Karepin 2015-02-07 07:12:19 +00:00 committed by Git OBS Bridge
parent a05ecc46fe
commit 962a6ed9e0

View File

@ -330,14 +330,17 @@ install -m 644 %{SOURCE3} \
%{buildroot}%{_localstatedir}/adm/fillup-templates/sysconfig.%{name}-switch
install -m 755 %{SOURCE2} \
%{buildroot}/%{_sysconfdir}/init.d/%{name}-switch
ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-switch
install -m 755 %{SOURCE5} \
%{buildroot}/%{_sysconfdir}/init.d/%{name}-vtep
ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-vtep
%if 0%{?suse_version} > 1230
ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-switch
ln -sf %_sbindir/service %{buildroot}%{_sbindir}/rc%{name}-vtep
install -D -m 644 %{SOURCE7} \
%{buildroot}%{_unitdir}/openvswitch.service
%else
ln -sf %{_sysconfdir}/init.d/%{name}-switch %{buildroot}%{_sbindir}/rc%{name}-switch
ln -sf %{_sysconfdir}/init.d/%{name}-vtep %{buildroot}%{_sbindir}/rc%{name}-vtep
%endif
install -d -m 755 %{buildroot}/%{_sysconfdir}/sysconfig