Bug 1044894 - Review Request: perl-Crypt-X509 - Parse a X.509 certificate
Summary: Review Request: perl-Crypt-X509 - Parse a X.509 certificate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Christopher Meng
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: rt4-dependencies-tracker
TreeView+ depends on / blocked
 
Reported: 2013-12-19 08:22 UTC by Ralf Corsepius
Modified: 2014-01-16 07:14 UTC (History)
2 users (show)

Fixed In Version: perl-Crypt-X509-0.51-1.fc19
Clone Of:
Environment:
Last Closed: 2014-01-16 06:59:42 UTC
Type: ---
Embargoed:
i: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Ralf Corsepius 2013-12-19 08:22:35 UTC
Spec URL: http://corsepiu.fedorapeople.org/packages/perl-Crypt-X509.spec
SRPM URL: http://corsepiu.fedorapeople.org/packages/perl-Crypt-X509-0.51-1.fc21.src.rpm
Description: Crypt::X509 parses X.509 certificates. Methods are provided for accessing most certificate elements.
Fedora Account System Username: corsepiu

Comment 1 Christopher Meng 2014-01-06 04:07:09 UTC
Why filter out perl(Convert::ASN1)? Any cons of removing this dep?

Comment 2 Ralf Corsepius 2014-01-06 04:28:03 UTC
(In reply to Christopher Meng from comment #1)
> Why filter out perl(Convert::ASN1)? Any cons of removing this dep?

This dep also is manually added:
...
Requires:       perl(Convert::ASN1) >= 0.19
...

Without filtering, the package carry this dep twice, the manually added (versioned) one and an automatically added (unversioned one).
The latter is redundant to the former one and thus is unnecessary.

As such redundant deps cause dependency bloat in yum metadata files and in rpmdb, its common practice to filter out less such redundant "Requires:".

Comment 3 Christopher Meng 2014-01-06 10:59:54 UTC
Can upstream fix the requires or let relevant package's maintainer round up the version?

1. According to:

https://fedoraproject.org/wiki/Perl/Tips?rd=PackagingTips/Perl#ExtUtils::MakeMaker

You can use DESTDIR as PERL_INSTALL_ROOT.

2. Also according to the same URL above, remove

find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

Others are fine.

3. No license file.

Comment 4 Ralf Corsepius 2014-01-06 11:42:57 UTC
(In reply to Christopher Meng from comment #3)
> Can upstream fix the requires or let relevant package's maintainer round up
> the version?
It's wishful naive dreamery to expect upstreams doing so.

> 1. According to:
> 
> https://fedoraproject.org/wiki/Perl/Tips?rd=PackagingTips/Perl#ExtUtils::
> MakeMaker
>
> You can use DESTDIR as PERL_INSTALL_ROOT.
Many roads lead to Rome ... CAN != MUST.

> 2. Also according to the same URL above, remove
> 
> find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
This line does not do any harm. Keeping it is still useful on many occasions and prevents bad surprises.

> Others are fine.
> 
> 3. No license file.
There is *no* requirement for a package to ship a detached license file.

The license of the package can be found inlined at the bottom of:
http://cpansearch.perl.org/src/AJUNG/Crypt-X509-0.51/lib/Crypt/X509.pm

Comment 5 Ralf Corsepius 2014-01-07 05:49:29 UTC
Thanks for the review, Christopher.

New Package SCM Request
=======================
Package Name: perl-Crypt-X509
Short Description: Parse a X.509 certificate
Owners: corsepiu
Branches: f19 f20
InitialCC: perl-sig

Comment 6 Gwyn Ciesla 2014-01-07 13:08:11 UTC
Git done (by process-git-requests).

Comment 7 Fedora Update System 2014-01-07 16:01:28 UTC
perl-Crypt-X509-0.51-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/perl-Crypt-X509-0.51-1.fc20

Comment 8 Fedora Update System 2014-01-07 16:01:42 UTC
perl-Crypt-X509-0.51-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/perl-Crypt-X509-0.51-1.fc19

Comment 9 Fedora Update System 2014-01-08 07:47:04 UTC
perl-Crypt-X509-0.51-1.fc19 has been pushed to the Fedora 19 testing repository.

Comment 10 Fedora Update System 2014-01-16 06:59:42 UTC
perl-Crypt-X509-0.51-1.fc20 has been pushed to the Fedora 20 stable repository.

Comment 11 Fedora Update System 2014-01-16 07:14:55 UTC
perl-Crypt-X509-0.51-1.fc19 has been pushed to the Fedora 19 stable repository.


Note You need to log in before you can comment on or make changes to this bug.