diff --git a/2ping.changes b/2ping.changes index b21c99a..7fd3626 100644 --- a/2ping.changes +++ b/2ping.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 4 12:10:52 UTC 2023 - Daniel Garcia + +- Remove dependency on /usr/bin/python3 using %python3_fix_shebang + macro, bsc#1212476 + ------------------------------------------------------------------- Fri Oct 15 11:48:55 UTC 2021 - Johannes Segitz diff --git a/2ping.spec b/2ping.spec index 2f67f8a..3a1c5cc 100644 --- a/2ping.spec +++ b/2ping.spec @@ -1,7 +1,7 @@ # # spec file for package 2ping # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,6 +27,7 @@ Source1: https://www.finnie.org/software/2ping/%{name}-%{version}.tar.gz. Source2: %{name}.keyring Patch0: harden_2ping.service.patch BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildRequires: python3-devel >= 3.6 BuildRequires: python3-distro BuildRequires: python3-dnspython @@ -63,6 +64,9 @@ install -Dp -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping6.1 mkdir -p %{buildroot}%{_sbindir} ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc2ping +# Fix python shebangs +%python3_fix_shebang + # create symlinks for man pages %fdupes -s %{buildroot}%{_mandir} # create hardlinks for the rest