%define _unpackaged_files_terminate_build 1 %define dist SQL-Statement Name: perl-%dist Version: 1.412 Release: alt1 Summary: SQL parsing and processing engine License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/SQL-Statement/ Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/%{dist}-%{version}.tar.gz BuildArch: noarch # Build BuildRequires: perl(ExtUtils/MakeMaker.pm) BuildRequires: perl(strict.pm) BuildRequires: perl(warnings.pm) # Runtime BuildRequires: perl(base.pm) BuildRequires: perl(Carp.pm) BuildRequires: perl(Clone.pm) BuildRequires: perl(constant.pm) BuildRequires: perl(Data/Dumper.pm) BuildRequires: perl(DBI.pm) BuildRequires: perl(Encode.pm) BuildRequires: perl(Errno.pm) BuildRequires: perl(Exporter.pm) BuildRequires: perl(List/Util.pm) BuildRequires: perl(Math/Base/Convert.pm) BuildRequires: perl(Math/Trig.pm) BuildRequires: perl(Module/Runtime.pm) BuildRequires: perl(Params/Util.pm) BuildRequires: perl(Scalar/Util.pm) BuildRequires: perl(sort.pm) BuildRequires: perl(Text/Balanced.pm) BuildRequires: perl(Text/Soundex.pm) BuildRequires: perl(Time/HiRes.pm) BuildRequires: perl(vars.pm) # Tests only BuildRequires: perl(Cwd.pm) BuildRequires: perl(File/Basename.pm) BuildRequires: perl(File/Path.pm) BuildRequires: perl(File/Spec.pm) BuildRequires: perl(lib.pm) BuildRequires: perl(Test/Deep.pm) BuildRequires: perl(Test/More.pm) # Optional tests only # DBD::CSV buildrequires SQL::Statement %if 0%{!?perl_bootstrap:1} BuildRequires: perl(DBD/CSV.pm) %endif BuildRequires: perl(DBD/DBM.pm) BuildRequires: perl(DBD/File.pm) BuildRequires: perl(DBD/SQLite.pm) BuildRequires: perl(MLDBM.pm) %description The SQL::Statement module implements a pure Perl SQL parsing and execution engine. While it by no means implements full ANSI standard, it does support many features including column and table aliases, built-in and user-defined functions, implicit and explicit joins, complex nested search conditions, and other features. %prep %setup -q -n %{dist}-%{version} %ifdef __buildreqs # don't check for conflicts under buildreq perl -pi -e 's/ = CheckConflicts/ = 0 && CheckConflicts/' Makefile.PL %endif %build export SQL_STATEMENT_WARN_UPDATE=sure %perl_vendor_build NO_PACKLIST=1 %install %perl_vendor_install %files %doc Changes README GPL-1 README.md %perl_vendor_privlib/SQL %changelog * Tue May 09 2017 Igor Vlasenko 1.412-alt1 - automated CPAN update * Wed Apr 20 2016 Igor Vlasenko 1.410-alt1 - automated CPAN update * Thu Apr 07 2016 Igor Vlasenko 1.409-alt1 - automated CPAN update * Mon Nov 16 2015 Igor Vlasenko 1.407-alt2 - dropped Requires: perl-DBI (create loop) * Wed Nov 11 2015 Igor Vlasenko 1.407-alt1_4 - new version * Mon Sep 16 2013 Vladimir Lettiev 1.405-alt1 - 1.33 -> 1.405 * Sun Feb 13 2011 Alexey Tourbin 1.33-alt1 - 1.27 -> 1.33 * Thu Jul 15 2010 Igor Vlasenko 1.27-alt1 - automated CPAN update * Sun Jun 28 2009 Michael Bochkaryov 1.20-alt1 - 1.20 version - broken tests removed * Mon Oct 06 2008 Igor Vlasenko 1.15-alt1.1 - NMU to fix directory ownership violation * Sat Feb 02 2008 Michael Bochkaryov 1.15-alt1 - first build for ALT Linux Sisyphus