From c7074f5a532470d2115c8ebae81f3444c04a94d94c95c691fa625fde2f86d0b1 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 9 Feb 2020 19:00:38 +0000 Subject: [PATCH] simplify setup OBS-URL: https://build.opensuse.org/package/show/security:netfilter/iproute2?expand=0&rev=186 --- iproute2.spec | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/iproute2.spec b/iproute2.spec index 47873be..ad25c32 100644 --- a/iproute2.spec +++ b/iproute2.spec @@ -17,9 +17,8 @@ Name: iproute2 -Version: 5.5 +Version: 5.5.0 Release: 0 -%define rversion 5.5.0 Summary: Linux network configuration utilities License: GPL-2.0-only Group: Productivity/Networking/Routing @@ -28,8 +27,8 @@ URL: https://www.linuxfoundation.org/collaborate/workgroups/networkin #DL-URL: https://kernel.org/pub/linux/utils/net/iproute2/ #Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/shemminger/iproute2 -Source: https://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.xz -Source2: https://kernel.org/pub/linux/utils/net/iproute2/%name-%rversion.tar.sign +Source: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.tar.xz +Source2: https://kernel.org/pub/linux/utils/net/iproute2/%name-%version.tar.sign Source9: %name.keyring Patch1: adjust-installation-directories-for-openSUSE-SLE.patch Patch2: use-sysconf-_SC_CLK_TCK-if-HZ-undefined.patch @@ -83,8 +82,7 @@ Requires: bash-completion bash command line completion support for iproute. %prep -%setup -qn %name-%rversion -%patch -P 1 -P 2 -P 3 -P 4 -P 6 -P 201 -P 202 -p1 +%autosetup -p1 find . -name *.orig -delete %build