Do not use sed

f38
Petr Písař 5 years ago
parent d63c123060
commit 2e3da71188

@ -51,7 +51,6 @@ BuildRequires: perl(locale)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(Tie::Hash)
BuildRequires: perl(warnings)
BuildRequires: sed
# Tests only
BuildRequires: perl(bytes)
BuildRequires: perl(Carp)
@ -89,10 +88,10 @@ SQLite.
# Remove bundled sqlite libraries (BZ#1059154)
# System libraries will be used
rm sqlite*
sed -i -e '/^sqlite/ d' MANIFEST
perl -i -ne 'print $_ unless m{^sqlite}' MANIFEST
# Remove bundled modules
rm -rf inc
sed -i -e '/^inc\// d' MANIFEST
perl -i -ne 'print $_ unless m{^inc/}' MANIFEST
%build
CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1

Loading…
Cancel
Save