public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-SQL-Translator] epel10: 0.11020 bump
Date: Fri, 07 Aug 2026 12:46:20 GMT	[thread overview]
Message-ID: <178610678018.1.9387146727936657290.rpms-perl-SQL-Translator-688ef346ebad@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-SQL-Translator
Branch : epel10
Commit : 688ef346ebadf5393cfb618b686a7b9b0e2517dc
Author : Petr Písař <ppisar@redhat.com>
Date   : 2014-11-24T16:59:48+01:00
Stats  : +105/-43 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-SQL-Translator/c/688ef346ebadf5393cfb618b686a7b9b0e2517dc?branch=epel10

Log:
0.11020 bump

---
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@redhat.com> - 0.11020-1
+- 0.11020 bump
+
 * Fri Aug 29 2014 Jitka Plesnikova <jplesnik@redhat.com> - 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

                 reply	other threads:[~2026-08-07 12:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178610678018.1.9387146727936657290.rpms-perl-SQL-Translator-688ef346ebad@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox