Accepting request 1081124 from home:mlin7442:rebuild_fails_155

use python3 as the interpreter on ipmi_sensor_ and smart_

OBS-URL: https://build.opensuse.org/request/show/1081124
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/munin?expand=0&rev=79
This commit is contained in:
Carsten Ziepke 2023-04-21 14:43:33 +00:00 committed by Git OBS Bridge
parent 244f46affa
commit de691cb4e9
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Apr 21 08:13:58 UTC 2023 - Max Lin <mlin@suse.com>
- Use python3 as the interpreter in ipmi_sensor_ and
smart_, boo#1210588
-------------------------------------------------------------------
Sun Mar 12 10:13:53 UTC 2023 - Carsten Ziepke <kieltux@gmail.com>

View File

@ -206,7 +206,7 @@ for F in \
%{buildroot}/%{_prefix}/lib/munin/plugins/ipmi_sensor_ \
%{buildroot}/%{_prefix}/lib/munin/plugins/smart_ \
; do
sed -i -e 's|^#!%{_bindir}/env python|#!%{_bindir}/python|' $F
sed -i -e 's|^#!%{_bindir}/env python|#!%{_bindir}/python3|' $F
done
for F in \
%{buildroot}/%{_prefix}/lib/munin/plugins/tomcat_ \