From b16ba2bf88fe1315f4fde034c657aed0d50e3e90 Mon Sep 17 00:00:00 2001 From: Alexandr Ciornii Date: Tue, 3 Feb 2009 20:18:40 +0000 Subject: [PATCH] license and configure_requires in Makefile.PL and META.yml --- Changes | 1 + META.yml | 31 ++++++++++++++++++++----------- Makefile.PL | 5 ++++- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/Changes b/Changes index 169a8b8..1c57411 100644 --- a/Changes +++ b/Changes @@ -4,6 +4,7 @@ Revision history for Perl extension DBD::SQLite. - Updated to SQLite 3.6.10, and bumped up the version requirement for installed sqlite3 to 3.6.0 as 3.6.x has backward incompatiblity (ISHIGAKI) + - license and configure_requires in Makefile.PL and META.yml (Alexandr Ciornii) 1.14 - Updated to SQLite 3.4.2 diff --git a/META.yml b/META.yml index 8e25bfb..21f0363 100644 --- a/META.yml +++ b/META.yml @@ -1,11 +1,20 @@ -# http://module-build.sourceforge.net/META-spec.html -#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX# -name: DBD-SQLite -version: 1.14 -version_from: lib/DBD/SQLite.pm -installdirs: site -requires: - DBI: 1.21 - -distribution_type: module -generated_by: ExtUtils::MakeMaker version 6.17 +--- #YAML:1.0 +name: DBD-SQLite +version: 1.15 +abstract: ~ +author: [] +license: perl +distribution_type: module +configure_requires: + DBI: 1.21 + ExtUtils::MakeMaker: 0 +requires: + DBI: 1.21 +no_index: + directory: + - t + - inc +generated_by: ExtUtils::MakeMaker version 6.48 +meta-spec: + url: http://module-build.sourceforge.net/META-spec-v1.4.html + version: 1.4 diff --git a/Makefile.PL b/Makefile.PL index 619d5a2..6678927 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -144,7 +144,10 @@ unless ( $Config{usethreads} ) { WriteMakefile( NAME => 'DBD::SQLite', VERSION_FROM => 'lib/DBD/SQLite.pm', - PREREQ_PM => { DBI => 1.21 }, + PREREQ_PM => { DBI => 1.21, }, + ($ExtUtils::MakeMaker::VERSION ge '6.46'? + ('LICENSE' => 'perl', + 'META_MERGE' => {'configure_requires'=>{DBI => 1.21,}}, ) : ()), OBJECT => ( $force_local ? '$(O_FILES)' : 'SQLite.o dbdimp.o' ), OPTIMIZE => '-O2', clean => { FILES => 'SQLite.xsi config.h tv.log output' },