0.11020 bump

epel9
Petr Písař 10 years ago
parent 6ba13b549d
commit 688ef346eb

1
.gitignore vendored

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

@ -0,0 +1,2 @@
from Config import *
addFilter("spelling-error .* parsers");

@ -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@redhat.com> - 0.11020-1
- 0.11020 bump
* Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.11016-4
- Perl 5.20 rebuild

@ -1 +1 @@
622684e777dcccf117fc84961aaf5475 SQL-Translator-0.11016.tar.gz
271d40a2c484b41a8654f918be28695b SQL-Translator-0.11020.tar.gz

Loading…
Cancel
Save