Edit MANIFEST with perl

This commit is contained in:
Petr Písař 2020-11-05 10:09:39 +01:00
parent 788d9f26d9
commit 0a2c1c81ad
1 changed files with 1 additions and 2 deletions

View File

@ -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"