Bug 1432122 - Review Request: BackupPC-XS - Implementation of various BackupPC functions in a perl-callable module
Summary: Review Request: BackupPC-XS - Implementation of various BackupPC functions in...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-14 14:54 UTC by Richard Shaw
Modified: 2026-03-05 00:04 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-04-01 17:31:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Comment 1 Richard Shaw 2017-03-14 14:54:31 UTC
This package built on koji:  https://koji.fedoraproject.org/koji/taskinfo?taskID=18380284

Comment 2 Persona non grata 2017-03-15 07:59:01 UTC Comment hidden (spam)
Comment 3 Richard Shaw 2017-03-15 12:44:23 UTC
Ok, I meant to go back and fill the description but forgot. Fixed.

Not worried about parallel make for such a small package, and it looks like the makefile is not designed to support it as the builds fail when used.

Since the changes were editorial I re-uploaded the spec and SRPM so the links are still good.

Comment 4 Persona non grata 2017-03-15 13:19:50 UTC Comment hidden (spam)
Comment 5 Richard Shaw 2017-03-15 13:27:28 UTC
Thanks for the quick review!

Comment 6 Gwyn Ciesla 2017-03-15 14:09:09 UTC
Package request has been approved: https://admin.fedoraproject.org/pkgdb/package/rpms/BackupPC-XS

Comment 7 Petr Pisar 2017-03-16 12:41:30 UTC
This package has many issues:

It bundles zlib. Link it to system zlib instead. Or declare `Provides: bundled(zlib)'.

It's missing these build-requries:

bash (configure.sh:1)
gcc (builds C code, this must be explicitly build-required per C packaging guidelines)
make (BackupPC-XS.spec:31)
perl(constant) (lib/BackupPC/XS.pm:16)
perl(Exporter) (lib/BackupPC/XS.pm:7)
perl(ExtUtils::MakeMaker) (Makefile.PL:2)
perl(strict) (lib/BackupPC/XS.pm:4)
perl(warnings) (lib/BackupPC/XS.pm:5)
perl(XSLoader) (lib/BackupPC/XS.pm:60)

It packages /usr/lib64/perl5/vendor_perl/auto/BackupPC/XS/.packlist file. It should not be packaged. You can solve it by adding NO_PACKACKLIST=1 argument to "perl Makefile.PL" call in the spec file.

The /usr/lib64/perl5/vendor_perl/auto/BackupPC/XS/XS.so has wrong permissions (0555). Fix it by executing "%{_fixperms} %{buildroot}" in the %install section.

It's missing these licenses:

The ppport.h file compiled into executable is licensed as (GPL+ or Artistic).
The bundked zlib is licensed as (zlib).
None of them are mentioned in the License tag.

Comment 8 Denis Fateyev 2017-03-18 16:51:41 UTC
Also, I do believe the package should be called "perl-BackupPC-XS" since it provides nothing but Perl bindings only.
README is not a pure license file, ca be considered as %doc.
As for BR list, please follow one style, and don't mix multiple BRs in one line.

Comment 9 Richard Shaw 2017-03-19 13:55:38 UTC
(In reply to Denis Fateyev from comment #8)
> Also, I do believe the package should be called "perl-BackupPC-XS" since it
> provides nothing but Perl bindings only.

In hindsight it would probably be a good idea but not worth a package rename. The guidelines only reference naming of CPAN modules[1] so they could be more clear.


> README is not a pure license file, ca be considered as %doc.

Fixed.


> As for BR list, please follow one style, and don't mix multiple BRs in one
> line.

I typically do one per line but like to group ones that are tightly linked together, in this case perl and perl-devel.

https://fedoraproject.org/wiki/Packaging:Naming?rd=Packaging:NamingGuidelines#perl_modules

Comment 10 Denis Fateyev 2017-03-19 16:09:55 UTC
(In reply to Richard Shaw from comment #9)
> (In reply to Denis Fateyev from comment #8)
> > Also, I do believe the package should be called "perl-BackupPC-XS" since it
> > provides nothing but Perl bindings only.
> 
> In hindsight it would probably be a good idea but not worth a package
> rename. The guidelines only reference naming of CPAN modules[1] so they
> could be more clear.

BTW, it's provided on CPAN: https://metacpan.org/pod/BackupPC::XS
I always considered it a CPAN module. So naming it with "perl" prefix definitely would be more clear.

Comment 11 Richard Shaw 2017-03-22 13:10:07 UTC
(In reply to Denis Fateyev from comment #10)
> (In reply to Richard Shaw from comment #9)
> > (In reply to Denis Fateyev from comment #8)
> > > Also, I do believe the package should be called "perl-BackupPC-XS" since it
> > > provides nothing but Perl bindings only.
> > 
> > In hindsight it would probably be a good idea but not worth a package
> > rename. The guidelines only reference naming of CPAN modules[1] so they
> > could be more clear.
> 
> BTW, it's provided on CPAN: https://metacpan.org/pod/BackupPC::XS
> I always considered it a CPAN module. So naming it with "perl" prefix
> definitely would be more clear.

Well, google failed me then. In either case, since it's only used with BackupPC and not intended to be used by anyone else I don't think it's worth changing at this point.

Comment 12 Fedora Update System 2017-03-24 15:56:59 UTC
BackupPC-XS-0.53-1.fc26 rsync-bpc-3.0.9.5-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f27cfadc0

Comment 13 Fedora Update System 2017-03-24 15:57:22 UTC
BackupPC-XS-0.53-1.fc25 rsync-bpc-3.0.9.5-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2d89031806

Comment 14 Fedora Update System 2017-03-24 15:57:36 UTC
BackupPC-XS-0.53-1.el7 rsync-bpc-3.0.9.5-2.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7cdafde337

Comment 15 Fedora Update System 2017-03-24 22:53:53 UTC
BackupPC-XS-0.53-1.fc26, rsync-bpc-3.0.9.5-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3f27cfadc0

Comment 16 Fedora Update System 2017-03-26 02:39:05 UTC
BackupPC-XS-0.53-1.fc25, rsync-bpc-3.0.9.5-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2d89031806

Comment 17 Fedora Update System 2017-03-26 08:47:26 UTC
BackupPC-XS-0.53-1.el7, rsync-bpc-3.0.9.5-2.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-7cdafde337

Comment 18 Fedora Update System 2017-04-01 17:31:24 UTC
BackupPC-XS-0.53-1.fc26, rsync-bpc-3.0.9.5-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2017-04-03 22:53:27 UTC
BackupPC-XS-0.53-1.fc25, rsync-bpc-3.0.9.5-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2017-04-09 23:19:55 UTC
BackupPC-XS-0.53-1.el7, rsync-bpc-3.0.9.5-2.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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