[perl-String-Diff] add temporary workaround for RT#76371

Iain Arnell iarnell at fedoraproject.org
Sat Jun 23 15:16:42 UTC 2012


commit 28559766a9c30f3a7857409f46f7a46e83a7f801
Author: Iain Arnell <iarnell at gmail.com>
Date:   Sat Jun 23 09:07:13 2012 -0600

    add temporary workaround for RT#76371

 perl-String-Diff.spec |    4 ++++
 rt76371.patch         |   34 ++++++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 0 deletions(-)
---
diff --git a/perl-String-Diff.spec b/perl-String-Diff.spec
index 25feaa0..9e467a3 100644
--- a/perl-String-Diff.spec
+++ b/perl-String-Diff.spec
@@ -6,6 +6,8 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/String-Diff/
 Source0:        http://www.cpan.org/authors/id/Y/YA/YAPPO/String-Diff-%{version}.tar.gz
+# temporary workaround for https://rt.cpan.org/Public/Bug/Display.html?id=76371
+Patch0:         rt76371.patch
 BuildArch:      noarch
 BuildRequires:  perl(inc::Module::Install)
 BuildRequires:  perl(Module::Install::TestBase)
@@ -27,6 +29,7 @@ general diff is done, the difference in the line is searchable.
 
 %prep
 %setup -q -n String-Diff-%{version}
+%patch0 -p 1
 
 %build
 %{__perl} Makefile.PL INSTALLDIRS=vendor
@@ -52,6 +55,7 @@ make test
 - update to latest upstream version
 - don't remove inc/
 - clean up spec for modern rpmbuild
+- add temporary workaround for RT#76371
 
 * Tue Jun 12 2012 Petr Pisar <ppisar at redhat.com> - 0.04-10
 - Perl 5.16 rebuild
diff --git a/rt76371.patch b/rt76371.patch
new file mode 100644
index 0000000..1a5ad58
--- /dev/null
+++ b/rt76371.patch
@@ -0,0 +1,34 @@
+diff -up String-Diff-0.05/t/05_diff_regexp-pp.t.orig String-Diff-0.05/t/05_diff_regexp-pp.t
+--- String-Diff-0.05/t/05_diff_regexp-pp.t.orig	2012-06-22 00:39:48.000000000 -0600
++++ String-Diff-0.05/t/05_diff_regexp-pp.t	2012-06-23 09:04:42.000000000 -0600
+@@ -45,10 +45,10 @@ new: Boofy
+ 
+ ===
+ --- data1
+-(?:あ|いつもい)る(?:晴れた日に散歩をすると|人がいないので)、そ(?:こに|れ)は
++(?:あ|いつもい)る(?:晴れた日に散歩をすると|人がいないので)そ(?:こに|れ)は
+ --- data2
+-old: ある晴れた日に散歩をすると、そこには
+-new: いつもいる人がいないので、それは
++old: ある晴れた日に散歩をするとそこには
++new: いつもいる人がいないのでそれは
+ 
+ ===
+ --- data1
+diff -up String-Diff-0.05/t/05_diff_regexp.t.orig String-Diff-0.05/t/05_diff_regexp.t
+--- String-Diff-0.05/t/05_diff_regexp.t.orig	2012-06-22 00:39:48.000000000 -0600
++++ String-Diff-0.05/t/05_diff_regexp.t	2012-06-23 09:12:24.000000000 -0600
+@@ -44,10 +44,10 @@ new: Boofy
+ 
+ ===
+ --- data1
+-(?:あ|いつもい)る(?:晴れた日に散歩をすると|人がいないので)、そ(?:こに|れ)は
++(?:あ|いつもい)る(?:晴れた日に散歩をすると|人がいないので)そ(?:こに|れ)は
+ --- data2
+-old: ある晴れた日に散歩をすると、そこには
+-new: いつもいる人がいないので、それは
++old: ある晴れた日に散歩をするとそこには
++new: いつもいる人がいないのでそれは
+ 
+ ===
+ --- data1


More information about the scm-commits mailing list