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:
commit
b4d8dc0aef
@ -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>
|
Fri Oct 15 11:48:55 UTC 2021 - Johannes Segitz <jsegitz@suse.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package 2ping
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Source2: %{name}.keyring
|
||||||
Patch0: harden_2ping.service.patch
|
Patch0: harden_2ping.service.patch
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: python3-devel >= 3.6
|
BuildRequires: python3-devel >= 3.6
|
||||||
BuildRequires: python3-distro
|
BuildRequires: python3-distro
|
||||||
BuildRequires: python3-dnspython
|
BuildRequires: python3-dnspython
|
||||||
@ -63,6 +64,9 @@ install -Dp -m 0644 doc/2ping.1 %{buildroot}%{_mandir}/man1/2ping6.1
|
|||||||
mkdir -p %{buildroot}%{_sbindir}
|
mkdir -p %{buildroot}%{_sbindir}
|
||||||
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc2ping
|
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc2ping
|
||||||
|
|
||||||
|
# Fix python shebangs
|
||||||
|
%python3_fix_shebang
|
||||||
|
|
||||||
# create symlinks for man pages
|
# create symlinks for man pages
|
||||||
%fdupes -s %{buildroot}%{_mandir}
|
%fdupes -s %{buildroot}%{_mandir}
|
||||||
# create hardlinks for the rest
|
# create hardlinks for the rest
|
||||||
|
Loading…
Reference in New Issue
Block a user