Accepting request 353464 from network
1 OBS-URL: https://build.opensuse.org/request/show/353464 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openvswitch?expand=0&rev=3
This commit is contained in:
commit
217af8ad30
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 10 17:55:22 UTC 2016 - antoine.belvire@laposte.net
|
||||
|
||||
- Add calls to /sbin/ldconfig in %post and %postun
|
||||
- Fix typo in Url
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 28 21:27:49 UTC 2014 - andrea@opensuse.org
|
||||
|
||||
|
@ -29,7 +29,7 @@ Release: 0
|
||||
Summary: An open source, production quality, multilayer virtual switch
|
||||
License: Apache-2.0
|
||||
Group: Productivity/Networking/System
|
||||
Url: http://openswitch.org/
|
||||
Url: http://openvswitch.org/
|
||||
Source0: http://openvswitch.org/releases/%{name}-%{version}.tar.gz
|
||||
Source1: preamble
|
||||
Source2: openvswitch-switch.init
|
||||
@ -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
|
||||
@ -368,6 +371,9 @@ rmdir %{buildroot}%{_datadir}/%{name}/python
|
||||
|
||||
%fdupes %{buildroot}%{py_sitedir}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%pre switch
|
||||
%if 0%{?suse_version} > 1230
|
||||
%service_add_pre openvswitch.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user