SHA256
1
0
forked from pool/openvswitch
Dominique Leuenberger 2024-08-05 15:20:17 +00:00 committed by Git OBS Bridge
commit a7703baae5
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jul 30 13:50:21 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang_path macro, [bsc#1212476]
-------------------------------------------------------------------
Tue Jun 4 09:48:39 UTC 2024 - Martin Jambor <mjambor@suse.com>

View File

@ -743,6 +743,13 @@ popd
install -D -m 0644 %{SOURCE10} %{buildroot}%{_sysusersdir}/openvswitch.conf
%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/ovsdb/*
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/scripts/*
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/scripts/usdt/*
%python3_fix_shebang_path %{buildroot}%{_datadir}/%{name}/scripts/ovsdb/*
%endif
%pre -f openvswitch.pre
%if 0%{?suse_version}
%service_add_pre ovsdb-server.service ovs-vswitchd.service openvswitch.service ovs-delete-transient-ports.service