eseyman pushed to perl-SQL-SplitStatement (master). "Initial import."

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Oct 30 06:58:39 UTC 2015


From 6507676b4e0469bf35d8ab46321a54dcbb792e53 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Fri, 30 Oct 2015 07:58:29 +0100
Subject: Initial import.

---
 .gitignore                   |  1 +
 perl-SQL-SplitStatement.spec | 70 ++++++++++++++++++++++++++++++++++++++++++++
 sources                      |  1 +
 3 files changed, 72 insertions(+)
 create mode 100644 perl-SQL-SplitStatement.spec

diff --git a/.gitignore b/.gitignore
index e69de29..ed04bfe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/SQL-SplitStatement-1.00020.tar.gz
diff --git a/perl-SQL-SplitStatement.spec b/perl-SQL-SplitStatement.spec
new file mode 100644
index 0000000..9371e4b
--- /dev/null
+++ b/perl-SQL-SplitStatement.spec
@@ -0,0 +1,70 @@
+Name:           perl-SQL-SplitStatement
+Version:        1.00020
+Release:        3%{?dist}
+Summary:        Split any SQL code into atomic statements
+License:        GPL+ or Artistic
+
+URL:            http://search.cpan.org/dist/SQL-SplitStatement/
+Source0:        http://www.cpan.org/authors/id/E/EM/EMAZEP/SQL-SplitStatement-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  make
+BuildRequires:  perl
+
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Class::Accessor::Fast)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+BuildRequires:  perl(File::Find)
+BuildRequires:  perl(File::Temp)
+BuildRequires:  perl(Getopt::Long)
+BuildRequires:  perl(List::MoreUtils)
+BuildRequires:  perl(Pod::Usage)
+BuildRequires:  perl(Regexp::Common)
+BuildRequires:  perl(SQL::Tokenizer) >= 0.22
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Script::Run)
+BuildRequires:  perl(base)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+This is a simple module which tries to split any SQL code, even including
+non-standard extensions (for the details see the "SUPPORTED DBMSs" section
+of the module documentation), into the atomic statements it is composed of.
+
+%prep
+%setup -q -n SQL-SplitStatement-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}/*
+
+%check
+make test
+
+%files
+%doc Changes README
+# The LICENSE file is outdated and contains the wrong address for the FSF
+# https://rt.cpan.org/Ticket/Display.html?id=107996
+%license LICENSE
+%{_bindir}/sql-split
+%{perl_vendorlib}/SQL
+%{_mandir}/man1/sql-split*
+%{_mandir}/man3/SQL*
+
+%changelog
+* Thu Oct 29 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.00020-3
+- Take into account review comments (#1276161)
+
+* Thu Oct 22 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.00020-2
+- Clean up the spec file
+
+* Sat Oct 17 2015 Adam Williamson <awilliam at redhat.com> - 1.00020-1
+- initial package
diff --git a/sources b/sources
index e69de29..6e6400e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+48e250843fcfd5517e91e0ead12faa28  SQL-SplitStatement-1.00020.tar.gz
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-SQL-SplitStatement.git/commit/?h=master&id=6507676b4e0469bf35d8ab46321a54dcbb792e53


More information about the perl-devel mailing list