From 0a2c1c81ad9d7dfee54cec12745b34a6b1624f03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 5 Nov 2020 10:09:39 +0100 Subject: [PATCH] Edit MANIFEST with perl --- perl-PathTools.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-PathTools.spec b/perl-PathTools.spec index 25c9122..cba1c56 100644 --- a/perl-PathTools.spec +++ b/perl-PathTools.spec @@ -23,7 +23,6 @@ BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl-interpreter BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 -BuildRequires: sed # Run-time: BuildRequires: perl(Carp) BuildRequires: perl(constant) @@ -63,7 +62,7 @@ This is the combined distribution for the File::Spec and Cwd modules. # Do not distribute File::Spec::VMS as it works on VMS only (bug #973713) rm lib/File/Spec/VMS.pm -sed -i -e '/^lib\/File\/Spec\/VMS.pm/d' MANIFEST +perl -i -ne 'print $_ unless m{^\Qlib/File/Spec/VMS.pm\E}' MANIFEST %build perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_OPT_FLAGS"