[perl-SQL-Translator] 0.11020 bump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 688ef346ebadf5393cfb618b686a7b9b0e2517dc
Author: Petr Písař <ppisar@xxxxxxxxxx>
Date:   Mon Nov 24 16:43:19 2014 +0100

    0.11020 bump

 .gitignore               |    1 +
 .rpmlint                 |    2 +
 perl-SQL-Translator.spec |  143 ++++++++++++++++++++++++++++++++-------------
 sources                  |    2 +-
 4 files changed, 105 insertions(+), 43 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 945faff..cd3034f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@ SQL-Translator-0.11005.tar.gz
 /SQL-Translator-0.11011.tar.gz
 /SQL-Translator-0.11012.tar.gz
 /SQL-Translator-0.11016.tar.gz
+/SQL-Translator-0.11020.tar.gz
diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..8224374
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* parsers");
diff --git a/perl-SQL-Translator.spec b/perl-SQL-Translator.spec
index dcb92d4..9e859fb 100644
--- a/perl-SQL-Translator.spec
+++ b/perl-SQL-Translator.spec
@@ -1,62 +1,118 @@
 Name:           perl-SQL-Translator
 Summary:        Manipulate structured data definitions (SQL and more)
-Version:        0.11016
-Release:        4%{?dist}
+Version:        0.11020
+Release:        1%{?dist}
 License:        GPL+ or Artistic
 Group:          Development/Libraries
-Source0:        http://search.cpan.org/CPAN/authors/id/F/FR/FREW/SQL-Translator-%{version}.tar.gz
+Source0:        http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/SQL-Translator-%{version}.tar.gz
 URL:            http://search.cpan.org/dist/SQL-Translator/
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 BuildArch:      noarch
-
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.54
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(inc::Module::Install) >= 1.06
+BuildRequires:  perl(Module::Install::AuthorTests)
+BuildRequires:  perl(Module::Install::AutoInstall)
+BuildRequires:  perl(Module::Install::Makefile)
+BuildRequires:  perl(Module::Install::Metadata)
+BuildRequires:  perl(Module::Install::ReadmeFromPod)
+BuildRequires:  perl(Module::Install::Scripts)
+BuildRequires:  perl(Module::Install::Share)
+BuildRequires:  perl(Module::Install::WriteAll)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Module::Install::AuthorTests)
+BuildRequires:  perl(Parse::RecDescent) >= 1.967009
+# SQL::Translator is used from lib
+# SQL::Translator::Parser::XML is used from lib
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time:
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(Carp::Clan)
-BuildRequires:  perl(Class::MakeMethods)
-BuildRequires:  perl(CPAN)
-BuildRequires:  perl(DBI)
+BuildRequires:  perl(CGI)
+BuildRequires:  perl(CGI::Pretty)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(Data::Dumper)
+BuildRequires:  perl(DBI) >= 1.54
 BuildRequires:  perl(Digest::SHA)
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.42
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(File::Basename)
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Path)
 BuildRequires:  perl(File::ShareDir) >= 1.0
+BuildRequires:  perl(File::Spec::Functions)
+BuildRequires:  perl(File::Temp)
 BuildRequires:  perl(GD)
+BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(Graph::Directed)
 BuildRequires:  perl(GraphViz)
-BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IO::Dir)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(JSON) >= 2.0
 BuildRequires:  perl(List::MoreUtils) >= 0.09
-BuildRequires:  perl(Log::Log4perl)
-BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(List::Util)
 BuildRequires:  perl(Moo) >= 1.000003
+BuildRequires:  perl(Moo::Role)
+BuildRequires:  perl(overload)
 BuildRequires:  perl(Package::Variant) >= 1.001001
-BuildRequires:  perl(Parse::RecDescent) >= 1.967009
 BuildRequires:  perl(Pod::Usage)
 BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(Spreadsheet::ParseExcel)
+BuildRequires:  perl(Spreadsheet::ParseExcel) >= 0.41
+BuildRequires:  perl(Storable)
+BuildRequires:  perl(strictures) >= 1
 BuildRequires:  perl(Sub::Quote)
-BuildRequires:  perl(Template)
+BuildRequires:  perl(Template) >= 2.20
+BuildRequires:  perl(Test::More) >= 0.88
+BuildRequires:  perl(Text::ParseWords)
+BuildRequires:  perl(Text::RecordParser) >= 0.02
+BuildRequires:  perl(Try::Tiny) >= 0.04
+BuildRequires:  perl(vars)
+BuildRequires:  perl(XML::LibXML) >= 1.69
+BuildRequires:  perl(XML::LibXML::XPathContext)
+BuildRequires:  perl(XML::Writer) >= 0.500
+BuildRequires:  perl(YAML) >= 0.66
+# Tests:
+BuildRequires:  perl(FindBin)
+BuildRequires:  perl(IO::File)
+BuildRequires:  perl(IPC::Open3)
+BuildRequires:  perl(Symbol)
 BuildRequires:  perl(Test::Differences)
 BuildRequires:  perl(Test::Exception) >= 0.31
-BuildRequires:  perl(Test::More) >= 0.6
-BuildRequires:  perl(Text::RecordParser)
-BuildRequires:  perl(Try::Tiny)
-BuildRequires:  perl(XML::LibXML)
 BuildRequires:  perl(XML::Parser)
-BuildRequires:  perl(XML::Writer) >= 0.500
-BuildRequires:  perl(XML::XPath)
-BuildRequires:  perl(YAML) >= 0.66
-
-Requires:       perl(Class::Data::Inheritable) >= 0.02
+# Optional tests:
+# DBD::Pg not needed because it requires preconfigures PostgreSQL database
+# with DBICTEST_PG_* environemnt variables
+# Test::PostgreSQL not yet packaged
+BuildRequires:  perl(Test::EOL) >= 1.1
+BuildRequires:  perl(Test::NoTabs) >= 1.1
+BuildRequires:  perl(Test::Pod) >= 1.14
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires:       perl(CGI)
+Requires:       perl(CGI::Pretty)
+Requires:       perl(DBI) >= 1.54
 Requires:       perl(File::ShareDir) >= 1.0
-Requires:       perl(IO::Scalar) >= 2.110
+Requires:       perl(Graph::Directed)
+Requires:       perl(JSON) >= 2.0
+Requires:       perl(overload)
+Requires:       perl(Package::Variant) >= 1.001001
 Requires:       perl(Parse::RecDescent) >= 1.967009
+Requires:       perl(Spreadsheet::ParseExcel) >= 0.41
+Requires:       perl(Template) >= 2.20
+Requires:       perl(Test::More) >= 0.88
+Requires:       perl(Text::RecordParser) >= 0.02
+Requires:       perl(Try::Tiny) >= 0.04
+Requires:       perl(XML::LibXML) >= 1.69
 Requires:       perl(XML::Writer) >= 0.500
 
-# obsolete/provide old tests subpackage
-# can be removed during F19 development cycle
-Obsoletes:      %{name}-tests < 0.11010-3
-Provides:       %{name}-tests = %{version}-%{release}
-
-
-%?perl_default_filter
-%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(:\\)
+%{?perl_default_filter}
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DBI|File::ShareDir|JSON|Moo|Package::Variant|Parse::RecDescent|Spreadsheet::ParseExcel|Template|Test::More|Text::RecordParser|Try::Tiny|XML::LibXML)\\)$
+# Remove badly detected requires (a grammar in the
+# lib/SQL/Translator/Parser/Sybase.pm)
+%global __requires_exclude %{__requires_exclude}|^perl\\(:\\)
 
 %description
 SQL::Translator is a group of Perl modules that converts vendor-specific
@@ -73,34 +129,37 @@ not the manipulation of data (INSERT, UPDATE, DELETE).
 
 %prep
 %setup -q -n SQL-Translator-%{version}
-
-find . -type f -exec chmod -c -x {} +
-perl -pi -e 's|^#!/usr/local/bin/perl|#!%{__perl}|' t/*.t
+# Remove bundled modules
+rm -r inc
+sed -i -e '/^inc\//d' MANIFEST
+# Fix shell-bangs
+sed -i -e '1 s|^#!/usr/bin/env perl|#!%{__perl}|' script/*
+# Fix permission, CPAN RT#100532
+chmod -x lib/SQL/Translator/Parser/JSON.pm
 
 %build
-%{?!with_local_perl:unset PERL_MM_OPT MODULEBUILDRC PERL5LIB}
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
-
 find %{buildroot} -type f -name .packlist -exec rm -f {} +
 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} %{buildroot}/*
 
 %check
 make test
 
 %files
-%doc Changes README t/
+%doc Changes README
 %{_bindir}/*
 %{perl_vendorlib}/*
 %{_mandir}/man[13]/*
 
 %changelog
+* Mon Nov 24 2014 Petr Pisar <ppisar@xxxxxxxxxx> - 0.11020-1
+- 0.11020 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@xxxxxxxxxx> - 0.11016-4
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 984334d..5d0c95a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-622684e777dcccf117fc84961aaf5475  SQL-Translator-0.11016.tar.gz
+271d40a2c484b41a8654f918be28695b  SQL-Translator-0.11020.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux