From d418606fbd9061522d067b52e75118ee02ddd06e Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Wed, 25 May 2022 16:59:34 +0200 Subject: [PATCH] Don't remove inc/ to prevent setting Module::Install::AUTHOR --- perl-Net-SSH2.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-Net-SSH2.spec b/perl-Net-SSH2.spec index f42835f..c1a7124 100644 --- a/perl-Net-SSH2.spec +++ b/perl-Net-SSH2.spec @@ -63,7 +63,8 @@ all of the key exchanges, ciphers, and compression of libssh2. %setup -q -n Net-SSH2-%{version} # Remove bundled libraries -rm -r inc +# Don't remove inc/ to prevent setting $Module::Install::AUTHOR +rm -r inc/* perl -i -ne 'print $_ unless m{^inc/}' MANIFEST %build