eseyman pushed to perl-BZ-Client (master). "Update to 1.06 (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Sun Apr 19 09:29:46 UTC 2015
>From 2f56a99388957fa361aa481e0ff6b2e0a3eebe81 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel at seyman.fr>
Date: Sun, 19 Apr 2015 11:29:06 +0200
Subject: Update to 1.06 Drop upstreamed patch0 Update patch1 against current
codebase
diff --git a/.gitignore b/.gitignore
index ce691d1..c943d80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
BZ-Client-1.03.tar.gz
/BZ-Client-1.04.tar.gz
+/BZ-Client-1.06.tar.gz
diff --git a/BZ-Client-1.04-Expect-perturbed-structure-members-on-t-11writer.t.patch b/BZ-Client-1.04-Expect-perturbed-structure-members-on-t-11writer.t.patch
index d50bd29..7986e8f 100644
--- a/BZ-Client-1.04-Expect-perturbed-structure-members-on-t-11writer.t.patch
+++ b/BZ-Client-1.04-Expect-perturbed-structure-members-on-t-11writer.t.patch
@@ -22,8 +22,8 @@ index a0f79e7..a04bb27 100755
+++ b/t/11writer.t
@@ -28,7 +28,17 @@ sub TestBasic() {
scalar($now),
- { "a" => BZ::Client::XMLRPC::int->new(0), "b" => "xyz" } ];
- my $contents = $xmlrpc->create_request("someMethod", $input);
+ { 'a' => BZ::Client::XMLRPC::int->new(0), 'b' => 'xyz' } ];
+ my $contents = $xmlrpc->create_request('someMethod', $input);
- my $expect =
+ my $membera =
+ "<member>"
@@ -59,7 +59,7 @@ index a0f79e7..a04bb27 100755
. "</value>"
. "</param>"
. "</params>"
- ."</methodCall>\n";
+ ."</methodCall>\n";
- if ($contents ne $expect) {
- print STDERR "Expect: $expect\n";
- print STDERR "Got: $contents\n";
@@ -68,12 +68,12 @@ index a0f79e7..a04bb27 100755
+ $expect = $prefix . $membera . $memberb . $suffix;
+ if ($contents eq $expect) {
+ return 1;
- }
-- return 1;
++ }
+ $expect = $prefix . $memberb . $membera . $suffix;
+ if ($contents eq $expect) {
+ return 1;
-+ }
+ }
+- return 1;
+ print STDERR "Expect: $expect\n";
+ print STDERR "Got: $contents\n";
+ return 0;
diff --git a/perl-BZ-Client-bugzilla-dates.patch b/perl-BZ-Client-bugzilla-dates.patch
deleted file mode 100644
index f8c6fe1..0000000
--- a/perl-BZ-Client-bugzilla-dates.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- lib/BZ/Client/XMLRPC/Value.pm
-+++ lib/BZ/Client/XMLRPC/Value.pm
-@@ -71,7 +71,11 @@ sub end($$) {
- $self->{'level1_content'} = undef;
- $self->{'level1_elem'} = undef;
- if ("dateTime.iso8601" eq $name) {
-- $self->{'result'} = DateTime::Format::ISO8601->parse_datetime( $self->{'result'} );
-+ my $val = $self->{'result'};
-+ if ($val =~ /(\d\d\d\d)(\d\d)(\d\d)(T\d\d:\d\d:\d\d)/) {
-+ $val = "$1-$2-$3$4";
-+ }
-+ $self->{'result'} = DateTime::Format::ISO8601->parse_datetime( $val );
- }
- }
- }
diff --git a/perl-BZ-Client.spec b/perl-BZ-Client.spec
index d4bd6fb..245cf16 100644
--- a/perl-BZ-Client.spec
+++ b/perl-BZ-Client.spec
@@ -1,12 +1,11 @@
Name: perl-BZ-Client
-Version: 1.04
-Release: 12%{?dist}
+Version: 1.06
+Release: 1%{?dist}
Summary: A client for the Bugzilla web services API
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/BZ-Client/
Source0: http://www.cpan.org/authors/id/J/JW/JWIED/BZ-Client-%{version}.tar.gz
-Patch0: perl-BZ-Client-bugzilla-dates.patch
# Fix test to expect random hash keys, bug #1084032, CPAN RT#94402
Patch1: BZ-Client-1.04-Expect-perturbed-structure-members-on-t-11writer.t.patch
BuildArch: noarch
@@ -34,7 +33,6 @@ This module provides an interface to the Bugzilla web services API.
%setup -q -n BZ-Client-%{version}
chmod 644 Changes README LICENSE
-%patch0
%patch1 -p1
%build
@@ -59,6 +57,11 @@ make test
%{_mandir}/man3/*
%changelog
+* Sun Apr 19 2015 Emmanuel Seyman <emmanuel at seyman.fr> - 1.06-1
+- Update to 1.06
+- Drop patch0 (upstreamed)
+- Update patch1
+
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.04-12
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 8632c8e..3ca3762 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-37978c0442ebcb762f48bd74bd01b4ec BZ-Client-1.04.tar.gz
+026ecccbc7d2ffa7f424af49fb6fe5b3 BZ-Client-1.06.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-BZ-Client.git/commit/?h=master&id=2f56a99388957fa361aa481e0ff6b2e0a3eebe81
More information about the scm-commits
mailing list