[perl-qpid_proton] Fixed a few packages to properly provide virtual Perl packages.
Darryl L. Pierce
mcpierce at fedoraproject.org
Mon Feb 17 15:00:15 UTC 2014
commit f7f557fc09d4aaa6ae580f533b4109bc9f9708ee
Author: Darryl L. Pierce <mcpierce at gmail.com>
Date: Mon Feb 17 09:30:46 2014 -0500
Fixed a few packages to properly provide virtual Perl packages.
- Removed the Provides that are now fixed.
- Resolves: BZ#1066021
...Updated-Perl-modules-to-provide-missing-p.patch | 52 ++++++++++++++++++++
perl-qpid_proton.spec | 14 +++--
2 files changed, 61 insertions(+), 5 deletions(-)
---
diff --git a/01-PROTON-519-Updated-Perl-modules-to-provide-missing-p.patch b/01-PROTON-519-Updated-Perl-modules-to-provide-missing-p.patch
new file mode 100644
index 0000000..d5c28ef
--- /dev/null
+++ b/01-PROTON-519-Updated-Perl-modules-to-provide-missing-p.patch
@@ -0,0 +1,52 @@
+From da781326b38bcd263c6806f1efa91df0d50c6ddd Mon Sep 17 00:00:00 2001
+From: "Darryl L. Pierce" <mcpierce at gmail.com>
+Date: Mon, 17 Feb 2014 09:19:34 -0500
+Subject: [PATCH] PROTON-519: Updated Perl modules to provide missing packages.
+
+Incorporated patch from Robin Lee, plus added a similar change to
+qpid_proton.pm as well.
+
+Contributed by: Robin Lee <cheeselee at fedoraproject.org>
+---
+ proton-c/bindings/perl/lib/qpid/proton/Constants.pm | 2 ++
+ proton-c/bindings/perl/lib/qpid/proton/ExceptionHandling.pm | 2 ++
+ proton-c/bindings/perl/lib/qpid_proton.pm | 2 ++
+ 3 files changed, 6 insertions(+)
+
+diff --git a/proton-c/bindings/perl/lib/qpid/proton/Constants.pm b/proton-c/bindings/perl/lib/qpid/proton/Constants.pm
+index 2bd69c9..8397011 100644
+--- a/proton-c/bindings/perl/lib/qpid/proton/Constants.pm
++++ b/proton-c/bindings/perl/lib/qpid/proton/Constants.pm
+@@ -164,4 +164,6 @@ use constant {
+ UNKNOWN => undef,
+ };
+
++package qpid::proton::Constants;
++
+ 1;
+diff --git a/proton-c/bindings/perl/lib/qpid/proton/ExceptionHandling.pm b/proton-c/bindings/perl/lib/qpid/proton/ExceptionHandling.pm
+index f166b07..534a2ab 100644
+--- a/proton-c/bindings/perl/lib/qpid/proton/ExceptionHandling.pm
++++ b/proton-c/bindings/perl/lib/qpid/proton/ExceptionHandling.pm
+@@ -33,4 +33,6 @@ sub check_for_error {
+ }
+ }
+
++package qpid::proton::ExceptionHandling;
++
+ 1;
+diff --git a/proton-c/bindings/perl/lib/qpid_proton.pm b/proton-c/bindings/perl/lib/qpid_proton.pm
+index 222a94f..dc7fefb 100644
+--- a/proton-c/bindings/perl/lib/qpid_proton.pm
++++ b/proton-c/bindings/perl/lib/qpid_proton.pm
+@@ -31,5 +31,7 @@ use qpid::proton::Message;
+
+ use qpid::proton;
+
++package qpid_proton;
++
+ 1;
+
+--
+1.8.5.3
+
diff --git a/perl-qpid_proton.spec b/perl-qpid_proton.spec
index 391e252..4b15a8a 100644
--- a/perl-qpid_proton.spec
+++ b/perl-qpid_proton.spec
@@ -3,16 +3,13 @@
Name: perl-qpid_proton
Version: 0.6
-Release: 2%{?dist}
+Release: 3%{?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
-
-Provides: perl(qpid_proton) = %{version}
-Provides: perl(qpid::proton::Constants) = %{version}
-Provides: perl(qpid::proton::ExceptionHandling) = %{version}
+Patch01: 01-PROTON-519-Updated-Perl-modules-to-provide-missing-p.patch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: swig
@@ -33,6 +30,8 @@ Requires: qpid-proton-c = %{version}
%prep
%setup -q -n qpid-proton-%{version}
+%patch01 -p1
+
pushd proton-c/bindings/perl
swig -perl -I/usr/include -o cproton_perl.c perl.i
popd
@@ -71,6 +70,11 @@ popd
%changelog
+* Mon Feb 17 2014 Darryl L. Pierce <dpierce at redhat.com> = 0.6-3
+- Fixed a few packages to properly provide virtual Perl packages.
+- Removed the Provides that are now fixed.
+- Resolves: BZ#1066021
+
* Wed Feb 12 2014 Darryl L. Pierce <dpierce at redhat.com> - 0.6-2
- Updated the Provides to include
- * qpid_proton
More information about the scm-commits
mailing list