From 363db81bc78012f85258a384c0a3f6a27ad03c238eae7dfe8be0894d0529db40 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Wed, 28 Feb 2024 05:00:43 +0000 Subject: [PATCH] Add missing -p 1 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-ncclient?expand=0&rev=13 --- python-ncclient.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-ncclient.spec b/python-ncclient.spec index 2e03cd3..358ffaf 100644 --- a/python-ncclient.spec +++ b/python-ncclient.spec @@ -58,7 +58,7 @@ This package contains documentation files for %{name}. %prep %setup -q -n ncclient-%{version} %if 0%{?suse_version} < 1550 -%patch -P 0 +%patch -P 0 -p 1 %endif find examples/ -name "*.py" -exec sed -i 's|#!/usr/bin/env python$|#!/usr/bin/python|g' {} \;