jplesnik pushed to perl-B-Generate (master). "Update test which fails against 5.21.9 (RT#103122)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 29 11:05:34 UTC 2015


>From 9e23f392663d8a9df8bfa10b706a3b59bf4278cc Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 29 Apr 2015 13:05:16 +0200
Subject: Update test which fails against 5.21.9 (RT#103122)


diff --git a/B-Generate-1.50-RT-103122-Fixed-op_list-t.patch b/B-Generate-1.50-RT-103122-Fixed-op_list-t.patch
new file mode 100644
index 0000000..34f4514
--- /dev/null
+++ b/B-Generate-1.50-RT-103122-Fixed-op_list-t.patch
@@ -0,0 +1,11 @@
+diff -rup B-Generate-1.50-UkPDVe-orig/t/op_list.t B-Generate-1.50-UkPDVe/t/op_list.t
+--- B-Generate-1.50-UkPDVe-orig/t/op_list.t	2014-12-24 04:19:47.000000000 -0800
++++ B-Generate-1.50-UkPDVe/t/op_list.t	2015-03-25 12:37:23.000000000 -0700
+@@ -12,6 +12,7 @@ use_ok 'B';
+ # release-dependent values, which we reverify using B-Gen in 2nd test
+ 
+ my %list_nums = (
++    158 => "5.021009",  # added nbit_*, sbit_*, [ns]complement
+     150 => "5.021007",  # added multideref
+     149 => "5.019004",  # added kvaslice, kvhslice
+     148 => "5.017006",  # added padrange
diff --git a/perl-B-Generate.spec b/perl-B-Generate.spec
index 5815dee..b647b0f 100644
--- a/perl-B-Generate.spec
+++ b/perl-B-Generate.spec
@@ -1,11 +1,14 @@
 Name:           perl-B-Generate
 Version:        1.50
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Create your own op trees
 License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/B-Generate/
 Source0:        http://www.cpan.org/authors/id/R/RU/RURBAN/B-Generate-%{version}.tar.gz
+# Update test which fails against 5.21.9 (RT#103122)
+Patch1:         B-Generate-1.50-RT-103122-Fixed-op_list-t.patch
+
 # Build
 BuildRequires:  perl
 BuildRequires:  perl(Config)
@@ -35,6 +38,7 @@ ones. Now you can.
 
 %prep
 %setup -q -n B-Generate-%{version}
+%patch1 -p1
 
 %build
 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 --skipdeps
@@ -55,6 +59,9 @@ make test
 %{_mandir}/man3/*
 
 %changelog
+* Wed Apr 29 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.50-2
+- Update test which fails against 5.21.9 (RT#103122)
+
 * Mon Jan 05 2015 Petr Ĺ abata <contyk at redhat.com> - 1.50-1
 - 1.50 bump
 - Fix for compatibility with v5.21
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-B-Generate.git/commit/?h=master&id=9e23f392663d8a9df8bfa10b706a3b59bf4278cc


More information about the scm-commits mailing list