Bug 906362

Summary: Review Request: perl-qpid_proton - Perl language bindings for Qpid Proton
Product: [Fedora] Fedora Reporter: Darryl L. Pierce <dpierce>
Component: Package ReviewAssignee: Petr Šabata <psabata>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: notting, package-review, psabata, tross
Target Milestone: ---Flags: psabata: fedora-review+
gwync: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-01 15:14:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Darryl L. Pierce 2013-01-31 14:01:39 UTC
Spec URL: http://mcpierce.fedorapeople.org/rpms/perl-qpid_proton.spec
SRPM URL: http://mcpierce.fedorapeople.org/rpms/perl-qpid_proton-0.3-1.fc18.src.rpm
Description: Perl language bindings for Qpid Proton.
Fedora Account System Username: mcpierce

Comment 1 Petr Šabata 2013-01-31 15:01:45 UTC
Taking the review.

Comment 2 Petr Šabata 2013-01-31 15:48:11 UTC
I don't see the perl bindings listed on http://qpid.apache.org/proton/ and your Source isn't a URL.  Where does this come from?  There's no explanation in the spec file...

You're also missing the following build-deps:
perl(Test::Exception)
perl(Test::More)

Your changelog entry references version 0.03 instead of 0.3.

Tip: Substitute command macros (like %{__perl}) with simple calls (lines 16 and 43).

Tip: Drop line 53, it's unnecessary.

Why are you excluding the cproton_perl.so from the package?  Does it even work without it?...

Comment 3 Darryl L. Pierce 2013-01-31 17:37:27 UTC
(In reply to comment #2)
> I don't see the perl bindings listed on http://qpid.apache.org/proton/ and
> your Source isn't a URL.  Where does this come from?  There's no explanation
> in the spec file...
> 
> You're also missing the following build-deps:
> perl(Test::Exception)
> perl(Test::More)

Fixed that, thanks.

> Your changelog entry references version 0.03 instead of 0.3.

Ugh. Muscle memory from packaging Qpid as well. Fixed.
 
> Tip: Substitute command macros (like %{__perl}) with simple calls (lines 16
> and 43).

What's the advantage of replacing the command macros? I'm not opposed to it, but don't understand why. Especially given that the packaging guidelines use them:

https://fedoraproject.org/wiki/Packaging:Perl

> Tip: Drop line 53, it's unnecessary.

Done.
 
> Why are you excluding the cproton_perl.so from the package?  Does it even
> work without it?...

That exclude seems to be a mistake, since cproton_perl.so still is there in the generated RPM. I've removed the exclude since it's no longer necessary.

Updated SPEC:  http://mcpierce.fedorapeople.org/rpms/perl-qpid_proton.spec
Updated SRPM:  http://mcpierce.fedorapeople.org/rpms/perl-qpid_proton-0.3-1.1.fc18.src.rpm
Scratch build: http://koji.fedoraproject.org/koji/taskinfo?taskID=4918012

Comment 4 Petr Šabata 2013-02-01 08:54:15 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > I don't see the perl bindings listed on http://qpid.apache.org/proton/ and
> > your Source isn't a URL.  Where does this come from?  There's no explanation
> > in the spec file...
> > 
> > You're also missing the following build-deps:
> > perl(Test::Exception)
> > perl(Test::More)
> 
> Fixed that, thanks.

Ok, that's acceptable...

> > Your changelog entry references version 0.03 instead of 0.3.
> 
> Ugh. Muscle memory from packaging Qpid as well. Fixed.

Ok.

> > Tip: Substitute command macros (like %{__perl}) with simple calls (lines 16
> > and 43).
> 
> What's the advantage of replacing the command macros? I'm not opposed to it,
> but don't understand why. Especially given that the packaging guidelines use
> them:
> 
> https://fedoraproject.org/wiki/Packaging:Perl

Yes, that's a just a tip since it's becoming the new trend; afaic the %{__perl} macro doesn't offer any advantages, just looks ugly.  Hopefully we'll rework the Perl packaging guidelines one day, once (or if) we reach some consensus in Perl SIG...

> > Tip: Drop line 53, it's unnecessary.
> 
> Done.

Ok.

> > Why are you excluding the cproton_perl.so from the package?  Does it even
> > work without it?...
> 
> That exclude seems to be a mistake, since cproton_perl.so still is there in
> the generated RPM. I've removed the exclude since it's no longer necessary.

Interesting.  The * glob above probably ate that.
Anyway, it's better now.


Approving.

Comment 5 Darryl L. Pierce 2013-02-01 13:00:48 UTC
(In reply to comment #4)
> Approving.

Thanks for the quick turnaround on the review, Petr! :)

New Package SCM Request
=======================
Package Name: perl-qpid_proton
Short Description: Perl language bindings for Qpid Proton
Owners: mcpierce
Branches: f17 f18 el6
InitialCC: mcpierce

Comment 6 Petr Šabata 2013-02-01 13:07:09 UTC
Since this is a perl package, add perl-sig to InitialCC too, please. (resetting the cvs flag)

Comment 7 Darryl L. Pierce 2013-02-01 13:43:15 UTC
New Package SCM Request
=======================
Package Name: perl-qpid_proton
Short Description: Perl language bindings for Qpid Proton
Owners: mcpierce
Branches: f17 f18 el6
InitialCC: mcpierce perl-sig

Comment 8 Gwyn Ciesla 2013-02-01 13:49:25 UTC
Git done (by process-git-requests).

Comment 9 Darryl L. Pierce 2013-02-01 15:14:43 UTC
Thanks everyone!

Comment 10 Darryl L. Pierce 2014-02-12 15:22:29 UTC
Package Change Request
======================
Package Name: perl-qpid_proton
New Branches: epel7
Owners: mcpierce

Comment 11 Gwyn Ciesla 2014-02-12 15:41:10 UTC
Git done (by process-git-requests).