diff --git a/perl-DBD-SQLite.spec b/perl-DBD-SQLite.spec index b5e039b..03ade41 100644 --- a/perl-DBD-SQLite.spec +++ b/perl-DBD-SQLite.spec @@ -92,6 +92,11 @@ perl -i -ne 'print $_ unless m{^sqlite}' MANIFEST # Remove bundled modules rm -rf inc perl -i -ne 'print $_ unless m{^inc/}' MANIFEST +# Handle optional tests +%if !%{with perl_DBD_SQLite_enables_optional_test} +rm t/virtual_table/21_perldata_charinfo.t +perl -i -ne 'print $_ unless m{^t/virtual_table/21_perldata_charinfo\.t}' MANIFEST +%endif %build CFLAGS="%{optflags}" perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1