[packages/iputils] - disable ipv6 tests so that iproute2 is not BRed - require macros for meson
qboosh
qboosh at pld-linux.org
Sat Dec 18 16:58:23 CET 2021
commit 7fde72e312a7aae2397cfa84eb860cb871049243
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Dec 18 16:59:04 2021 +0100
- disable ipv6 tests so that iproute2 is not BRed
- require macros for meson
iputils.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/iputils.spec b/iputils.spec
index 8233d77..4f6d8ce 100644
--- a/iputils.spec
+++ b/iputils.spec
@@ -3,7 +3,7 @@
%bcond_without systemd # systemd units
Summary: Utilities for IPv4/IPv6 networking
-Summary(pl.UTF-8): Użytki przeznaczone dla pracy z siecią IPv4/IPv6
+Summary(pl.UTF-8): Narzędzia przeznaczone dla pracy z siecią IPv4/IPv6
Summary(ru.UTF-8): Набор базовых сетевых утилит (ping, tracepath etc.)
Summary(uk.UTF-8): Набір базових мережевих утиліт (ping, tracepath etc.)
Name: iputils
@@ -30,6 +30,7 @@ BuildRequires: linux-libc-headers
BuildRequires: meson >= 0.39
BuildRequires: ninja >= 1.5
BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.736
Requires: arping
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -92,6 +93,9 @@ pakiety ARP z użyciem podanego adresu źródłowego.
%prep
%setup -q
+# disable IPv6 tests (we don't run tests anyway)
+%{__sed} -i -e "/run_command/ s/'ip'/'false'/" ping/meson.build
+
%build
%meson build \
--bindir=%{_sbindir} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/iputils.git/commitdiff/7fde72e312a7aae2397cfa84eb860cb871049243
More information about the pld-cvs-commit
mailing list