Bug 1241614

Summary: Review Request: perl-Text-Reflow - Perl module for reflowing text files using Knuth's paragraphing algorithm
Product: [Fedora] Fedora Reporter: Petr Šabata <psabata>
Component: Package ReviewAssignee: Zbigniew Jędrzejewski-Szmek <zbyszek>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: package-review, zbyszek
Target Milestone: ---Flags: zbyszek: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: perl-Text-Reflow-1.10-1.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-11 17:04:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Šabata 2015-07-09 15:35:05 UTC
Spec URL: https://psabata.fedorapeople.org/pkgs/perl-Text-Reflow/perl-Text-Reflow.spec
SRPM URL: https://psabata.fedorapeople.org/pkgs/perl-Text-Reflow/perl-Text-Reflow-1.09-1.fc22.src.rpm
Description:
These routines will reflow the paragraphs in the given file, filehandle,
string or array using Knuth's paragraphing algorithm (as used in TeX) to
pick "good" places to break the lines.
Fedora Account System Username: psabata

Comment 1 Zbigniew Jędrzejewski-Szmek 2015-07-16 16:09:38 UTC
Are you sure about the license? http://search.cpan.org/dist/Text-Reflow/ says "Perl 5 license (artistic 1 and gpl 1)". Source files seem to say "Artistic or GPLv3+". So License should probably be:
License: GPLv3+ or Artistic.

- Package does not contain duplicates in %files.
  Note: warning: File listed twice: /usr/lib64/perl5/vendor_perl/auto/Text
  See: http://fedoraproject.org/wiki/Packaging/Guidelines#DuplicateFiles

Comment 2 Zbigniew Jędrzejewski-Szmek 2015-07-16 16:13:16 UTC
... or the other way around, following https://fedoraproject.org/wiki/Packaging:Perl#License_tag:
License:  GPL+ or Artistic

Comment 3 Petr Šabata 2015-07-17 08:49:11 UTC
(In reply to Zbigniew Jędrzejewski-Szmek from comment #1)
> Are you sure about the license? http://search.cpan.org/dist/Text-Reflow/
> says "Perl 5 license (artistic 1 and gpl 1)". Source files seem to say
> "Artistic or GPLv3+". So License should probably be:
> License: GPLv3+ or Artistic.

That CPAN metadata you're referring to was added for version 1.10, released yesterday.  Version 1.09 (this review) only mentions license information in the source (GPLv3+ for the module and GPLv2+ for the reflow script).

However, I've updated the package and changed the main package License tag to "GPLv3+ and (GPL+ or Artistic)".  The perl part of the module is still GPLv3+ only.

And the reflow script still uses GPLv2+.

> - Package does not contain duplicates in %files.
>   Note: warning: File listed twice: /usr/lib64/perl5/vendor_perl/auto/Text
>   See: http://fedoraproject.org/wiki/Packaging/Guidelines#DuplicateFiles

Fixed.

--

Spec URL: https://psabata.fedorapeople.org/pkgs/perl-Text-Reflow/perl-Text-Reflow.spec
SRPM URL: https://psabata.fedorapeople.org/pkgs/perl-Text-Reflow/perl-Text-Reflow-1.10-1.fc22.src.rpm

* Version bumped to 1.10
* License tag updated
* Build time dep list updated
* Patch dropped as it was incorporated upstream
* Module files are listed only once

Comment 4 Zbigniew Jędrzejewski-Szmek 2015-07-17 13:49:27 UTC
(In reply to Petr Šabata from comment #3)
> (In reply to Zbigniew Jędrzejewski-Szmek from comment #1)
> That CPAN metadata you're referring to was added for version 1.10, released
> yesterday.  Version 1.09 (this review) only mentions license information in
> the source (GPLv3+ for the module and GPLv2+ for the reflow script).
> 
> However, I've updated the package and changed the main package License tag
> to "GPLv3+ and (GPL+ or Artistic)".  The perl part of the module is still
> GPLv3+ only.
> 
> And the reflow script still uses GPLv2+.
Pff, what a mess. Please add a comment explaining the licensing breakdown
to the spec file [https://fedoraproject.org/wiki/Packaging:LicensingGuidelines#Multiple_Licensing_Scenarios].

> * Version bumped to 1.10
> * License tag updated
> * Build time dep list updated
> * Patch dropped as it was incorporated upstream
> * Module files are listed only once

OK, fedora-review doesn't see any issues.
Requires and Depends look correct.
Package is APPROVED.

Rpmlint
-------
Checking: perl-Text-Reflow-1.10-1.fc23.x86_64.rpm
          reflow-1.10-1.fc23.noarch.rpm
          perl-Text-Reflow-1.10-1.fc23.src.rpm
perl-Text-Reflow.x86_64: W: spelling-error Summary(en_US) reflowing -> re flowing, re-flowing, ref lowing
perl-Text-Reflow.x86_64: W: spelling-error %description -l en_US filehandle -> file handle, file-handle, mishandle
reflow.noarch: W: no-documentation
reflow.noarch: E: incorrect-fsf-address /usr/bin/reflow
reflow.noarch: W: no-manual-page-for-binary reflow
perl-Text-Reflow.src: W: spelling-error Summary(en_US) reflowing -> re flowing, re-flowing, ref lowing
perl-Text-Reflow.src: W: spelling-error %description -l en_US filehandle -> file handle, file-handle, mishandle
3 packages and 0 specfiles checked; 1 errors, 6 warnings.

Rpmlint (installed packages)
----------------------------
sh: /usr/bin/python: No such file or directory
reflow.noarch: W: no-documentation
reflow.noarch: E: incorrect-fsf-address /usr/bin/reflow
reflow.noarch: W: no-manual-page-for-binary reflow
3 packages and 0 specfiles checked; 1 errors, 2 warnings.

Comment 5 Petr Šabata 2015-07-17 14:30:06 UTC
Thanks.

This is still fairly simple.  You should see some other perl packages ;)

Comment 6 Petr Šabata 2015-07-17 14:31:19 UTC
New Package SCM Request
=======================
Package Name: perl-Text-Reflow
Short Description: Perl module for reflowing text files using Knuth's paragraphing algorithm
Upstream URL: http://search.cpan.org/dist/Text-Reflow/
Owners: psabata jplesnik ppisar
Branches: f21 f22 f23
InitialCC: perl-sig

Comment 7 Kevin Fenzi 2015-07-20 17:20:13 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2015-07-21 12:11:52 UTC
perl-Text-Reflow-1.10-1.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/perl-Text-Reflow-1.10-1.fc22

Comment 9 Fedora Update System 2015-07-21 12:12:29 UTC
perl-Text-Reflow-1.10-1.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/perl-Text-Reflow-1.10-1.fc21

Comment 10 Fedora Update System 2015-07-31 07:55:46 UTC
perl-Text-Reflow-1.10-1.fc22 has been pushed to the Fedora 22 stable repository.

Comment 11 Fedora Update System 2015-07-31 07:56:29 UTC
perl-Text-Reflow-1.10-1.fc21 has been pushed to the Fedora 21 stable repository.