From b5524bb3dc6f589791f85ecb959125577beff877 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 20 Sep 2023 12:34:07 +0200 Subject: [PATCH] Update using of %%patch --- perl-LDAP.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/perl-LDAP.spec b/perl-LDAP.spec index 7502927..efc8687 100644 --- a/perl-LDAP.spec +++ b/perl-LDAP.spec @@ -142,9 +142,9 @@ Tests from %{name}-%{version}. Execute them with "%{_libexecdir}/%{name}/test". %prep %setup -q -n perl-ldap-%{version} -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 +%patch -P0 -p1 +%patch -P1 -p1 +%patch -P2 -p1 chmod -c 644 bin/* contrib/* lib/Net/LDAP/DSML.pm perl -pi -e 's|^#!/usr/local/bin/perl\b|#!%{__perl}|' contrib/* # Remove bundled libraries