eseyman pushed to perl-SQL-SplitStatement (f23). "Patch package to fix incompatibility with perl-Getopt-Long"

notifications at fedoraproject.org notifications at fedoraproject.org
Sun Nov 8 21:12:59 UTC 2015


From 78715984def5605339b4ed8b062cb158459a0e4b Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun, 8 Nov 2015 22:12:49 +0100
Subject: Patch package to fix incompatibility with perl-Getopt-Long

---
 ...QL-SplitStatement-1.00020-getopt-long-compat.patch | 19 +++++++++++++++++++
 perl-SQL-SplitStatement.spec                          |  9 ++++++++-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 perl-SQL-SplitStatement-1.00020-getopt-long-compat.patch

diff --git a/perl-SQL-SplitStatement-1.00020-getopt-long-compat.patch b/perl-SQL-SplitStatement-1.00020-getopt-long-compat.patch
new file mode 100644
index 0000000..93d9448
--- /dev/null
+++ b/perl-SQL-SplitStatement-1.00020-getopt-long-compat.patch
@@ -0,0 +1,19 @@
+diff -up ./bin/sql-split.orig ./bin/sql-split
+--- ./bin/sql-split.orig	2015-11-08 20:54:19.957492030 +0100
++++ ./bin/sql-split	2015-11-08 20:54:39.348380406 +0100
+@@ -19,7 +19,7 @@ our $VERSION = $SQL::SplitStatement::VER
+ 
+ use Getopt::Long;
+ Getopt::Long::Configure qw(
+-    auto_help auto_version bundling require_order gnu_compat
++    auto_help auto_version bundling require_order gnu_compat no_ignore_case
+ );
+ use Pod::Usage;
+ 
+@@ -343,4 +343,4 @@ data and hardware damaging, but it may a
+ people, including, but not limited to, diarrhoea, gonorrhea and dysmenorrhea.
+ Don't say you haven't been warned.
+ 
+-=cut
+\ Pas de fin de ligne à la fin du fichier
++=cut
diff --git a/perl-SQL-SplitStatement.spec b/perl-SQL-SplitStatement.spec
index 9371e4b..e230f66 100644
--- a/perl-SQL-SplitStatement.spec
+++ b/perl-SQL-SplitStatement.spec
@@ -1,11 +1,14 @@
 Name:           perl-SQL-SplitStatement
 Version:        1.00020
-Release:        3%{?dist}
+Release:        4%{?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
+# Fixes incompatibility with Getopt::Long v2.48
+# https://rt.cpan.org/Ticket/Display.html?id=108595
+Patch0:         perl-SQL-SplitStatement-1.00020-getopt-long-compat.patch
 
 BuildArch:      noarch
 BuildRequires:  make
@@ -37,6 +40,7 @@ of the module documentation), into the atomic statements it is composed of.
 
 %prep
 %setup -q -n SQL-SplitStatement-%{version}
+%patch0 -p0
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
@@ -60,6 +64,9 @@ make test
 %{_mandir}/man3/SQL*
 
 %changelog
+* Sun Nov 08 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.00020-4
+- Patch package to fix incompatibility with perl-Getopt-Long (#1278707)
+
 * Thu Oct 29 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.00020-3
 - Take into account review comments (#1276161)
 
-- 
cgit v0.11.2


	http://pkgs.fedoraproject.org/cgit/perl-SQL-SplitStatement.git/commit/?h=f23&id=78715984def5605339b4ed8b062cb158459a0e4b


More information about the perl-devel mailing list