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