diff --git a/munin.changes b/munin.changes index da6cf60..a45117e 100644 --- a/munin.changes +++ b/munin.changes @@ -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 diff --git a/munin.spec b/munin.spec index 9092488..cb13bb5 100644 --- a/munin.spec +++ b/munin.spec @@ -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_ \