|
|
@ -3,8 +3,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-SQL-Translator
|
|
|
|
Name: perl-SQL-Translator
|
|
|
|
Summary: Manipulate structured data definitions (SQL and more)
|
|
|
|
Summary: Manipulate structured data definitions (SQL and more)
|
|
|
|
Version: 0.11024
|
|
|
|
Version: 1.60
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/SQL-Translator-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/SQL-Translator-%{version}.tar.gz
|
|
|
|
URL: https://metacpan.org/release/SQL-Translator
|
|
|
|
URL: https://metacpan.org/release/SQL-Translator
|
|
|
@ -14,21 +14,7 @@ BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::ShareDir::Install)
|
|
|
|
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(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: sed
|
|
|
|
BuildRequires: sed
|
|
|
@ -49,6 +35,7 @@ BuildRequires: perl(File::Basename)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Find)
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::Path)
|
|
|
|
BuildRequires: perl(File::ShareDir) >= 1.0
|
|
|
|
BuildRequires: perl(File::ShareDir) >= 1.0
|
|
|
|
|
|
|
|
BuildRequires: perl(File::Spec)
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
BuildRequires: perl(File::Spec::Functions)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(File::Temp)
|
|
|
|
BuildRequires: perl(GD)
|
|
|
|
BuildRequires: perl(GD)
|
|
|
@ -57,12 +44,13 @@ BuildRequires: perl(Graph::Directed)
|
|
|
|
BuildRequires: perl(GraphViz)
|
|
|
|
BuildRequires: perl(GraphViz)
|
|
|
|
BuildRequires: perl(IO::Dir)
|
|
|
|
BuildRequires: perl(IO::Dir)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(IO::Handle)
|
|
|
|
BuildRequires: perl(JSON) >= 2.0
|
|
|
|
BuildRequires: perl(JSON::MaybeXS) >= 1.003003
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(List::Util)
|
|
|
|
BuildRequires: perl(Moo) >= 1.000003
|
|
|
|
BuildRequires: perl(Moo) >= 1.000003
|
|
|
|
BuildRequires: perl(Moo::Role)
|
|
|
|
BuildRequires: perl(Moo::Role)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(overload)
|
|
|
|
BuildRequires: perl(Package::Variant) >= 1.001001
|
|
|
|
BuildRequires: perl(Package::Variant) >= 1.001001
|
|
|
|
|
|
|
|
BuildRequires: perl(Parse::RecDescent) >= 1.967009
|
|
|
|
BuildRequires: perl(Pod::Usage)
|
|
|
|
BuildRequires: perl(Pod::Usage)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
BuildRequires: perl(Scalar::Util)
|
|
|
|
%if %{with perl_SQL_Translator_enables_excel}
|
|
|
|
%if %{with perl_SQL_Translator_enables_excel}
|
|
|
@ -84,6 +72,7 @@ BuildRequires: perl(YAML) >= 0.66
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
BuildRequires: perl(FindBin)
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
BuildRequires: perl(IPC::Open3)
|
|
|
|
|
|
|
|
BuildRequires: perl(lib)
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
BuildRequires: perl(Symbol)
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
BuildRequires: perl(Test::Differences)
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.31
|
|
|
|
BuildRequires: perl(Test::Exception) >= 0.31
|
|
|
@ -92,16 +81,17 @@ BuildRequires: perl(XML::Parser)
|
|
|
|
# DBD::Pg not needed because it requires preconfigures PostgreSQL database
|
|
|
|
# DBD::Pg not needed because it requires preconfigures PostgreSQL database
|
|
|
|
# with DBICTEST_PG_* environemnt variables
|
|
|
|
# with DBICTEST_PG_* environemnt variables
|
|
|
|
# Test::PostgreSQL not yet packaged
|
|
|
|
# Test::PostgreSQL not yet packaged
|
|
|
|
BuildRequires: perl(Test::EOL) >= 1.1
|
|
|
|
# xt/* tests are not run
|
|
|
|
BuildRequires: perl(Test::NoTabs) >= 1.1
|
|
|
|
#BuildRequires: perl(Test::EOL) >= 1.1
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
#BuildRequires: perl(Test::NoTabs) >= 1.1
|
|
|
|
|
|
|
|
#BuildRequires: perl(Test::Pod) >= 1.14
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(CGI)
|
|
|
|
Requires: perl(CGI)
|
|
|
|
Requires: perl(CGI::Pretty)
|
|
|
|
Requires: perl(CGI::Pretty)
|
|
|
|
Requires: perl(DBI) >= 1.54
|
|
|
|
Requires: perl(DBI) >= 1.54
|
|
|
|
Requires: perl(File::ShareDir) >= 1.0
|
|
|
|
Requires: perl(File::ShareDir) >= 1.0
|
|
|
|
Requires: perl(Graph::Directed)
|
|
|
|
Requires: perl(Graph::Directed)
|
|
|
|
Requires: perl(JSON) >= 2.0
|
|
|
|
Requires: perl(JSON::MaybeXS) >= 1.003003
|
|
|
|
Requires: perl(overload)
|
|
|
|
Requires: perl(overload)
|
|
|
|
Requires: perl(Package::Variant) >= 1.001001
|
|
|
|
Requires: perl(Package::Variant) >= 1.001001
|
|
|
|
Requires: perl(Parse::RecDescent) >= 1.967009
|
|
|
|
Requires: perl(Parse::RecDescent) >= 1.967009
|
|
|
@ -117,7 +107,7 @@ Requires: perl(XML::Writer) >= 0.500
|
|
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
%{?perl_default_filter}
|
|
|
|
# Remove under-specified dependencies
|
|
|
|
# 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)\\)$
|
|
|
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((DBI|File::ShareDir|JSON::MaybeXS|Moo|Package::Variant|Parse::RecDescent|Spreadsheet::ParseExcel|Template|Test::More|Text::RecordParser|Try::Tiny|XML::LibXML)\\)$
|
|
|
|
# Remove badly detected requires (a grammar in the
|
|
|
|
# Remove badly detected requires (a grammar in the
|
|
|
|
# lib/SQL/Translator/Parser/Sybase.pm)
|
|
|
|
# lib/SQL/Translator/Parser/Sybase.pm)
|
|
|
|
%global __requires_exclude %{__requires_exclude}|^perl\\(:\\)
|
|
|
|
%global __requires_exclude %{__requires_exclude}|^perl\\(:\\)
|
|
|
@ -143,9 +133,6 @@ ER diagram producer for SQL::Translator.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n SQL-Translator-%{version}
|
|
|
|
%setup -q -n SQL-Translator-%{version}
|
|
|
|
# Remove bundled modules
|
|
|
|
|
|
|
|
rm -r inc
|
|
|
|
|
|
|
|
sed -i -e '/^inc\//d' MANIFEST
|
|
|
|
|
|
|
|
# Fix shell-bangs
|
|
|
|
# Fix shell-bangs
|
|
|
|
sed -i -e '1 s|^#!/usr/bin/env perl|#!%{__perl}|' script/*
|
|
|
|
sed -i -e '1 s|^#!/usr/bin/env perl|#!%{__perl}|' script/*
|
|
|
|
# Fix permission, CPAN RT#100532
|
|
|
|
# Fix permission, CPAN RT#100532
|
|
|
@ -180,6 +167,9 @@ make test
|
|
|
|
%{_mandir}/man3/SQL::Translator::Producer::Diagram.*
|
|
|
|
%{_mandir}/man3/SQL::Translator::Producer::Diagram.*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.60-1
|
|
|
|
|
|
|
|
- 1.60 bump
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11024-5
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.11024-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|