6507676
Name:           perl-SQL-SplitStatement
6507676
Version:        1.00020
178471b
Release:        16%{?dist}
6507676
Summary:        Split any SQL code into atomic statements
6507676
License:        GPL+ or Artistic
6507676
c56e971
URL:            https://metacpan.org/release/SQL-SplitStatement
c56e971
Source0:        https://cpan.metacpan.org/authors/id/E/EM/EMAZEP/SQL-SplitStatement-%{version}.tar.gz
a8682f7
# Fixes incompatibility with Getopt::Long v2.48
a8682f7
# https://rt.cpan.org/Ticket/Display.html?id=108595
a8682f7
Patch0:         perl-SQL-SplitStatement-1.00020-getopt-long-compat.patch
6507676
6507676
BuildArch:      noarch
6507676
BuildRequires:  make
44e30fc
BuildRequires:  perl-interpreter
4888a72
BuildRequires:  perl-generators
6507676
6507676
BuildRequires:  perl(Carp)
6507676
BuildRequires:  perl(Class::Accessor::Fast)
6507676
BuildRequires:  perl(constant)
6507676
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
6507676
BuildRequires:  perl(File::Find)
6507676
BuildRequires:  perl(File::Temp)
6507676
BuildRequires:  perl(Getopt::Long)
6507676
BuildRequires:  perl(List::MoreUtils)
6507676
BuildRequires:  perl(Pod::Usage)
6507676
BuildRequires:  perl(Regexp::Common)
6507676
BuildRequires:  perl(SQL::Tokenizer) >= 0.22
6507676
BuildRequires:  perl(Test::Exception)
6507676
BuildRequires:  perl(Test::More)
6507676
BuildRequires:  perl(Test::Script::Run)
6507676
BuildRequires:  perl(base)
6507676
BuildRequires:  perl(strict)
6507676
BuildRequires:  perl(warnings)
6507676
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
6507676
6507676
%description
6507676
This is a simple module which tries to split any SQL code, even including
6507676
non-standard extensions (for the details see the "SUPPORTED DBMSs" section
6507676
of the module documentation), into the atomic statements it is composed of.
6507676
6507676
%prep
6507676
%setup -q -n SQL-SplitStatement-%{version}
a8682f7
%patch0 -p0
6507676
6507676
%build
6507676
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
6507676
make %{?_smp_mflags}
6507676
6507676
%install
6507676
make pure_install DESTDIR=%{buildroot}
6507676
%{_fixperms} %{buildroot}/*
6507676
6507676
%check
6507676
make test
6507676
6507676
%files
6507676
%doc Changes README
6507676
# The LICENSE file is outdated and contains the wrong address for the FSF
6507676
# https://rt.cpan.org/Ticket/Display.html?id=107996
6507676
%license LICENSE
6507676
%{_bindir}/sql-split
6507676
%{perl_vendorlib}/SQL
6507676
%{_mandir}/man1/sql-split*
6507676
%{_mandir}/man3/SQL*
6507676
6507676
%changelog
178471b
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-16
178471b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
178471b
95a9e44
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-15
95a9e44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
95a9e44
8eacc63
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.00020-14
8eacc63
- Perl 5.30 rebuild
8eacc63
fd4f3cb
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-13
fd4f3cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
fd4f3cb
d82dfa0
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-12
d82dfa0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d82dfa0
cf3805c
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.00020-11
cf3805c
- Perl 5.28 rebuild
cf3805c
c1dff85
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-10
c1dff85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c1dff85
6f0ab4d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-9
6f0ab4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6f0ab4d
6756889
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.00020-8
6756889
- Perl 5.26 rebuild
6756889
4a2aa58
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-7
4a2aa58
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
4a2aa58
542e104
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.00020-6
542e104
- Perl 5.24 rebuild
542e104
dcc3fab
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.00020-5
dcc3fab
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
dcc3fab
a8682f7
* Sun Nov 08 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 1.00020-4
a8682f7
- Patch package to fix incompatibility with perl-Getopt-Long (#1278707)
a8682f7
6507676
* Thu Oct 29 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 1.00020-3
6507676
- Take into account review comments (#1276161)
6507676
6507676
* Thu Oct 22 2015 Emmanuel Seyman <emmanuel@seyman.fr> - 1.00020-2
6507676
- Clean up the spec file
6507676
6507676
* Sat Oct 17 2015 Adam Williamson <awilliam@redhat.com> - 1.00020-1
6507676
- initial package