epel9
Jitka Plesnikova 6 years ago
parent 62b59e559d
commit 9f38acee85

1
.gitignore vendored

@ -9,3 +9,4 @@ SQL-Translator-0.11005.tar.gz
/SQL-Translator-0.11022.tar.gz
/SQL-Translator-0.11023.tar.gz
/SQL-Translator-0.11024.tar.gz
/SQL-Translator-1.60.tar.gz

@ -3,8 +3,8 @@
Name: perl-SQL-Translator
Summary: Manipulate structured data definitions (SQL and more)
Version: 0.11024
Release: 5%{?dist}
Version: 1.60
Release: 1%{?dist}
License: GPL+ or Artistic
Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/SQL-Translator-%{version}.tar.gz
URL: https://metacpan.org/release/SQL-Translator
@ -14,21 +14,7 @@ BuildRequires: make
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
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(File::ShareDir::Install)
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
BuildRequires: sed
@ -49,6 +35,7 @@ BuildRequires: perl(File::Basename)
BuildRequires: perl(File::Find)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::ShareDir) >= 1.0
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Spec::Functions)
BuildRequires: perl(File::Temp)
BuildRequires: perl(GD)
@ -57,12 +44,13 @@ BuildRequires: perl(Graph::Directed)
BuildRequires: perl(GraphViz)
BuildRequires: perl(IO::Dir)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(JSON) >= 2.0
BuildRequires: perl(JSON::MaybeXS) >= 1.003003
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)
%if %{with perl_SQL_Translator_enables_excel}
@ -84,6 +72,7 @@ BuildRequires: perl(YAML) >= 0.66
BuildRequires: perl(FindBin)
BuildRequires: perl(IO::File)
BuildRequires: perl(IPC::Open3)
BuildRequires: perl(lib)
BuildRequires: perl(Symbol)
BuildRequires: perl(Test::Differences)
BuildRequires: perl(Test::Exception) >= 0.31
@ -92,16 +81,17 @@ BuildRequires: perl(XML::Parser)
# 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
# xt/* tests are not run
#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(Graph::Directed)
Requires: perl(JSON) >= 2.0
Requires: perl(JSON::MaybeXS) >= 1.003003
Requires: perl(overload)
Requires: perl(Package::Variant) >= 1.001001
Requires: perl(Parse::RecDescent) >= 1.967009
@ -117,7 +107,7 @@ Requires: perl(XML::Writer) >= 0.500
%{?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)\\)$
%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
# lib/SQL/Translator/Parser/Sybase.pm)
%global __requires_exclude %{__requires_exclude}|^perl\\(:\\)
@ -143,9 +133,6 @@ ER diagram producer for SQL::Translator.
%prep
%setup -q -n SQL-Translator-%{version}
# 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
@ -180,6 +167,9 @@ make test
%{_mandir}/man3/SQL::Translator::Producer::Diagram.*
%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
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

@ -1 +1 @@
SHA512 (SQL-Translator-0.11024.tar.gz) = ab6769591d7a586300367de96f8d41c928d0b33c2936246d7d8b9be9735207d1b0e5332a8a6aa9c6125f26161123588812b0c7016aca7da1a9ccbc000960fe70
SHA512 (SQL-Translator-1.60.tar.gz) = 0306ee301fd006276c5eeb3a4fd67ee9929e936cfa588d5b55a1e8acdb133f55724f2dd878722f01a540ff3b7b4554a15e2402df62944be8a38a9cc37d581511

Loading…
Cancel
Save