Accepting request 1158960 from server:monitoring

OBS-URL: https://build.opensuse.org/request/show/1158960
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/munin?expand=0&rev=35
This commit is contained in:
Dominique Leuenberger 2024-03-20 20:10:22 +00:00 committed by Git OBS Bridge
commit 763124f494
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_ \