[perl-qpid_proton] Rebased on Proton 0.8.
Darryl L. Pierce
mcpierce at fedoraproject.org
Tue Nov 18 18:48:03 UTC 2014
commit 5812a315e14c2f5a1299ef59af172afdf1be40a5
Author: Darryl L. Pierce <mcpierce at gmail.com>
Date: Tue Nov 18 12:01:48 2014 -0500
Rebased on Proton 0.8.
.gitignore | 1 +
0001-NO-JIRA-Perl-to-use-the-utils-module.patch | 38 ++++++++++++++
...Updated-Perl-modules-to-provide-missing-p.patch | 52 --------------------
perl-qpid_proton.spec | 12 ++++-
sources | 2 +-
5 files changed, 50 insertions(+), 55 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e34d9cd..457f6d3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/qpid-proton-0.5.tar.gz
/qpid-proton-0.6.tar.gz
/qpid-proton-0.7.tar.gz
+/qpid-proton-0.8.tar.gz
diff --git a/0001-NO-JIRA-Perl-to-use-the-utils-module.patch b/0001-NO-JIRA-Perl-to-use-the-utils-module.patch
new file mode 100644
index 0000000..808171e
--- /dev/null
+++ b/0001-NO-JIRA-Perl-to-use-the-utils-module.patch
@@ -0,0 +1,38 @@
+From 694d59ddbd0223d9a128c288a968ff940e05bc0b Mon Sep 17 00:00:00 2001
+From: "Darryl L. Pierce" <mcpierce at gmail.com>
+Date: Tue, 18 Nov 2014 11:43:43 -0500
+Subject: [PATCH] NO-JIRA: Perl to use the utils module
+
+---
+ proton-c/bindings/perl/lib/qpid/proton/utils.pm | 2 +-
+ proton-c/bindings/perl/lib/qpid_proton.pm | 1 +
+ 2 files changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/proton-c/bindings/perl/lib/qpid/proton/utils.pm b/proton-c/bindings/perl/lib/qpid/proton/utils.pm
+index 75af498..5652535 100644
+--- a/proton-c/bindings/perl/lib/qpid/proton/utils.pm
++++ b/proton-c/bindings/perl/lib/qpid/proton/utils.pm
+@@ -17,7 +17,7 @@
+ # under the License.
+ #
+
+-package qpid::proton;
++package qpid::proton::utils;
+
+ sub is_num {
+ my $val = $_[0];
+diff --git a/proton-c/bindings/perl/lib/qpid_proton.pm b/proton-c/bindings/perl/lib/qpid_proton.pm
+index de4e224..cbee98d 100644
+--- a/proton-c/bindings/perl/lib/qpid_proton.pm
++++ b/proton-c/bindings/perl/lib/qpid_proton.pm
+@@ -31,6 +31,7 @@ use qpid::proton::Messenger;
+ use qpid::proton::Message;
+
+ use qpid::proton;
++use qpid::proton::utils;
+
+ package qpid_proton;
+
+--
+1.9.3
+
diff --git a/perl-qpid_proton.spec b/perl-qpid_proton.spec
index ecd2576..d30e255 100644
--- a/perl-qpid_proton.spec
+++ b/perl-qpid_proton.spec
@@ -2,14 +2,16 @@
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
Name: perl-qpid_proton
-Version: 0.7
-Release: 4%{?dist}
+Version: 0.8
+Release: 1%{?dist}
Summary: Perl language bindings for Qpid Proton
License: ASL 2.0
URL: http://qpid.apache.org/proton/
Source0: http://www.apache.org/dist/qpid/proton/%{version}/qpid-proton-%{version}.tar.gz
+Patch0001: 0001-NO-JIRA-Perl-to-use-the-utils-module.patch
+
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: swig
BuildRequires: qpid-proton-c-devel = %{version}
@@ -22,6 +24,7 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $versi
Requires: qpid-proton-c = %{version}
+
%description
%{summary}.
@@ -29,6 +32,8 @@ Requires: qpid-proton-c = %{version}
%prep
%setup -q -n qpid-proton-%{version}
+%patch0001 -p1
+
pushd proton-c/bindings/perl
swig -perl -I/usr/include -o cproton_perl.c perl.i
popd
@@ -67,6 +72,9 @@ popd
%changelog
+* Tue Nov 18 2014 Darryl L. Pierce <dpierce at redhat.com> - 0.8-1
+- Rebased on Proton 0.8.
+
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik at redhat.com> - 0.7-4
- Perl 5.20 rebuild
diff --git a/sources b/sources
index 7dc1201..4071aca 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ec46fd02f1ac9f4b03e08aad22ab2506 qpid-proton-0.7.tar.gz
+48bfbd7ba5a639760bb28380f4d68208 qpid-proton-0.8.tar.gz
More information about the scm-commits
mailing list