Accepting request 1115957 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1115957
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/2ping?expand=0&rev=15
This commit is contained in:
Ana Guerrero 2023-10-06 19:14:16 +00:00 committed by Git OBS Bridge
commit b4d8dc0aef
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 4 12:10:52 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
- Remove dependency on /usr/bin/python3 using %python3_fix_shebang
macro, bsc#1212476
-------------------------------------------------------------------
Fri Oct 15 11:48:55 UTC 2021 - Johannes Segitz <jsegitz@suse.com>

View File

@ -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