Accepting request 1158945 from home:pgajdos

- remove dependency on /usr/bin/python3 using
  %python3_fix_shebang_path macro, [bsc#1212476]

OBS-URL: https://build.opensuse.org/request/show/1158945
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/munin?expand=0&rev=89
This commit is contained in:
Bernhard M. Wiedemann 2024-03-18 10:54:54 +00:00 committed by Git OBS Bridge
parent e472c38e52
commit d91ad9ebb4
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 18 09:58:18 UTC 2024 - pgajdos@suse.com
- remove dependency on /usr/bin/python3 using
%python3_fix_shebang_path macro, [bsc#1212476]
-------------------------------------------------------------------
Thu Feb 22 12:03:55 UTC 2024 - pgajdos@suse.com

View File

@ -62,6 +62,7 @@ BuildRequires: perl-Net-SNMP
BuildRequires: perl-Net-SSLeay
BuildRequires: perl-Net-Server
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
BuildRequires: shadow
BuildRequires: unzip
BuildRequires: perl(Module::Build)
@ -204,6 +205,10 @@ ln nginx-munin-master/README.org README.nginx
%__install -m0755 munin-gsa-master/snmp_* %{buildroot}/%{plugindir}
ln munin-gsa-master/README.md README.gsa
%if %{suse_version} >= 1600
%python3_fix_shebang_path %{buildroot}/%{plugindir}/*
%endif
# Fix rpmlint warning: This script uses 'env' as an interpreter.
for F in \
%{buildroot}/%{_prefix}/lib/munin/plugins/ipmi_sensor_ \