Bug 874743 - Review Request: perl-Unicode-EastAsianWidth - East Asian Width properties
Summary: Review Request: perl-Unicode-EastAsianWidth - East Asian Width properties
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jitka Plesnikova
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 886192
TreeView+ depends on / blocked
 
Reported: 2012-11-08 18:42 UTC by Tom "spot" Callaway
Modified: 2014-10-13 08:46 UTC (History)
4 users (show)

Fixed In Version: perl-Unicode-EastAsianWidth-1.33-3.fc22
Clone Of:
Environment:
Last Closed: 2014-10-13 08:46:22 UTC
Type: ---
Embargoed:
jplesnik: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Tom "spot" Callaway 2012-11-08 18:42:39 UTC
Spec URL: http://spot.fedorapeople.org/perl-Unicode-EastAsianWidth.spec
SRPM URL: http://spot.fedorapeople.org/perl-Unicode-EastAsianWidth-1.33-1.fc18.src.rpm
Description: This module provide user-defined Unicode properties that deal with width status of East Asian characters, as specified in
<http://www.unicode.org/unicode/reports/tr11/>.
Fedora Account System Username: spot

Comment 1 Jitka Plesnikova 2012-12-11 08:57:57 UTC
Package Review
==============

Key:
[x] = Pass
[!] = Fail
[-] = Not applicable
[?] = Not evaluated

===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[!]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[!]: Package contains no bundled libraries.
[x]: Changelog in prescribed format.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[x]: Package uses nothing in %doc for runtime.
[x]: Package is not known to require ExcludeArch.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
[x]: Package complies to the Packaging Guidelines
[-]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %doc.
[x]: License field in the package spec file matches the actual license.
[x]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: Package is named using only allowed ASCII characters.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package do not use a name that already exist
[x]: Package obeys FHS, except libexecdir and /usr/target.
[-]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package is not relocatable.
[x]: Requires correct, justified where necessary.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file is legible and written in American English.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: Package contains systemd file(s) if in need.
[x]: File names are valid UTF-8.
[-]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 10240 bytes in 2 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Perl:
[!]: Package contains the mandatory BuildRequires and Requires:.
[x]: CPAN urls should be non-versioned.

===== SHOULD items =====

Generic:
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[-]: If the source package does not include license text(s) as a separate file
     from upstream, the packager SHOULD query upstream to include it.
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[-]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[-]: Uses parallel make.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX / PatchY prefixed with %{name}.
     Note: Source0 (Unicode-EastAsianWidth-1.33.tar.gz)
[x]: SourceX is a working URL.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Spec use %global instead of %define.

===== EXTRA items =====

Generic:
[x]: Spec file according to URL is the same as in SRPM.
[-]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.

$ rpmlint perl-Unicode-EastAsianWidth.spec perl-Unicode-EastAsianWidth-1.33-1.fc19.*rpm
perl-Unicode-EastAsianWidth.noarch: W: spelling-error %description -l en_US http -> HTTP
perl-Unicode-EastAsianWidth.noarch: W: spelling-error %description -l en_US www -> WWW, wow
perl-Unicode-EastAsianWidth.src: W: spelling-error %description -l en_US http -> HTTP
perl-Unicode-EastAsianWidth.src: W: spelling-error %description -l en_US www -> WWW, wow
2 packages and 1 specfiles checked; 0 errors, 4 warnings.
rpmlint is ok.

$ rpm -qp --requires perl-Unicode-EastAsianWidth-1.33-1.fc19.noarch.rpm  | sort | uniq -c
      1 perl >= 0:5.006
      1 perl(:MODULE_COMPAT_5.16.2)
      1 perl(Exporter)
      1 perl(base)
      1 perl(strict)
      1 perl(vars)
      1 rpmlib(CompressedFileNames) <= 3.0.4-1
      1 rpmlib(FileDigests) <= 4.6.0-1
      1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      1 rpmlib(PayloadIsXz) <= 5.2-1
$ rpm -qp --provides perl-Unicode-EastAsianWidth-1.33-1.fc19.noarch.rpm  | sort | uniq -c
      1 perl(Unicode::EastAsianWidth) = 1.33
      1 perl-Unicode-EastAsianWidth = 1.33-1.fc19

Binary requires and provides are ok.


MD5-sum check
-------------
http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-1.33.tar.gz :
  CHECKSUM(SHA256) this package     : 41c9f0b50c45dd806a97de73f9fe93516b6c63255e2a5174e5fb2d89635c7797
  CHECKSUM(SHA256) upstream package : 41c9f0b50c45dd806a97de73f9fe93516b6c63255e2a5174e5fb2d89635c7797


Generated by fedora-review 0.3.1 (93e63af) last change: 2012-11-30
Buildroot used: fedora-rawhide-x86_64


Issues:
=======
FIX: Add missing BRs
perl(base) - lib/Unicode/EastAsianWidth.pm:5
perl(Exporter) - lib/Unicode/EastAsianWidth.pm:5
perl(Test) - t/1-basic.t:4

FIX: Specify dependencies of inc/* (like 'perl(Cwd)' and perl(File::Path) at inc/Module/Install.pm:24) or unbundle modules.

TODO: Remove the deleting empty directories in %install section. This is default behavior.



Please correct all 'FIX' issues, consider fixing 'TODO' items and provide new spec file.

Comment 2 Tom "spot" Callaway 2012-12-11 18:24:00 UTC
Nothing ever comes easy, does it? Good catch on the bundled bits. I've made one new dependency package (perl-Module-Package-Au) to resolve this issue. The other items are already in Fedora but only in rawhide (perl-Module-Install-ReadmeFromPod and perl-Module-Install-ReadmeMarkdownFromPod), so I've asked for them to be branched for all active releases.

New SRPM: http://spot.fedorapeople.org/perl-Unicode-EastAsianWidth-1.33-2.fc18.src.rpm
New SPEC: http://spot.fedorapeople.org/perl-Unicode-EastAsianWidth.spec

Comment 3 Jitka Plesnikova 2012-12-12 08:24:01 UTC
Spec file changes:

+BuildRequires:	perl(base)
+BuildRequires:	perl(Exporter)
 BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Test)
+BuildRequires:	perl(Module::Package)
+BuildRequires:	perl(Pod::Markdown)
+BuildRequires:	perl(Module::Package::Au)
> FIX: Add missing BRs
Ok

 %setup -q -n Unicode-EastAsianWidth-%{version}
+rm -rf inc/*
> FIX: Specify dependencies of inc/* (like 'perl(Cwd)' and perl(File::Path) 
> at inc/Module/Install.pm:24) or unbundle modules.
TODO: Remove inc/* from MANIFEST

 find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
> TODO: Remove the deleting empty directories in %install section. This is 
> default behavior.
Ok.

Please consider fixing 'TODO' item.

Package APPROVED.

Comment 4 Jitka Plesnikova 2012-12-12 12:10:58 UTC
Package Review
==============

Key:
[x] = Pass
[!] = Fail
[-] = Not applicable
[?] = Not evaluated

===== MUST items =====

Generic:
[x]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: All build dependencies are listed in BuildRequires, except for any that
     are listed in the exceptions section of Packaging Guidelines.
[x]: Package contains no bundled libraries.
[x]: Changelog in prescribed format.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[x]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
[x]: Macros in Summary, %description expandable at SRPM build time.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[x]: Package requires other packages for directories it uses.
[-]: Package uses nothing in %doc for runtime.
[-]: Package is not known to require ExcludeArch.
[x]: Package does not contain duplicates in %files.
[x]: Permissions on files are set properly.
[x]: Fully versioned dependency in subpackages, if present.
[x]: Package complies to the Packaging Guidelines
[-]: If (and only if) the source package includes the text of the license(s)
     in its own file, then that file, containing the text of the license(s)
     for the package is included in %doc.
[x]: License field in the package spec file matches the actual license.
[x]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: Package is named using only allowed ASCII characters.
[x]: Package is named according to the Package Naming Guidelines.
[x]: Package does not generate any conflict.
[x]: Package do not use a name that already exist
[x]: Package obeys FHS, except libexecdir and /usr/target.
[x]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[x]: Package must own all directories that it creates.
[x]: Package does not own files or directories owned by other packages.
[x]: Package is not relocatable.
[x]: Requires correct, justified where necessary.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[x]: Spec file is legible and written in American English.
[x]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: Package contains systemd file(s) if in need.
[x]: File names are valid UTF-8.
[-]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 10240 bytes in 2 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Perl:
[x]: Package contains the mandatory BuildRequires and Requires:.
[x]: CPAN urls should be non-versioned.

===== SHOULD items =====

Generic:
[x]: Reviewer should test that the package builds in mock.
[x]: Buildroot is not present
[x]: Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
[x]: Dist tag is present.
[x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[x]: Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[-]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise justified.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX is a working URL.
[-]: Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[-]: Package should compile and build into binary rpms on all supported
     architectures.
[x]: %check is present and all tests pass.
[x]: Packages should try to preserve timestamps of original installed files.
[x]: Spec use %global instead of %define.

===== EXTRA items =====

Generic:
[x]: Spec file according to URL is the same as in SRPM.
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.

$ rpmlint ./perl-Module-Package-Au.spec ./perl-Module-Package-Au-2-1.fc19.*
2 packages and 1 specfiles checked; 0 errors, 0 warnings.
Rpmlint is ok.
$ rpm -qp --provides perl-Module-Package-Au-2-1.fc19.noarch.rpm | sort | uniq -c
      1 perl(Module::Package::Au)
      1 perl(Module::Package::Au::dry)
      1 perl-Module-Package-Au = 2-1.fc19
Binary provides are ok.

$ rpm -qp --requires perl-Module-Package-Au-2-1.fc19.noarch.rpm | sort | uniq -c
      1 perl >= 0:5.008003
      1 perl(:MODULE_COMPAT_5.16.2)
      1 perl(Module::Install::GithubMeta) >= 0.10
      1 perl(Module::Install::ReadmeFromPod) >= 0.12
      1 perl(Module::Install::ReadmeMarkdownFromPod) >= 0.03
      1 perl(Module::Package) >= 0.24
      1 perl(Module::Package::Plugin)
      1 perl(Pod::Markdown) >= 1.301
      1 perl(base)
      1 perl(strict)
      1 rpmlib(CompressedFileNames) <= 3.0.4-1
      1 rpmlib(FileDigests) <= 4.6.0-1
      1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      1 rpmlib(PayloadIsXz) <= 5.2-1
Binary requires are ok.

MD5-sum check
-------------
http://search.cpan.org/CPAN/authors/id/A/AU/AUDREYT/Module-Package-Au-0.01.tar.gz :
  CHECKSUM(SHA256) this package     : fce689be4644fb11b4758de957731115ae7a8a8cc218111f62246df6432b25ce
  CHECKSUM(SHA256) upstream package : fce689be4644fb11b4758de957731115ae7a8a8cc218111f62246df6432b25ce


TODO: Remove BR perl(Test). I did not find any requirement of it.

Please consider fixing 'TODO' item.

Package APPROVED.

Comment 5 Jitka Plesnikova 2012-12-12 12:15:25 UTC
(In reply to comment #4)
[...]

Sorry, wrong review.

Comment 6 Vitezslav Crhonek 2013-04-29 12:43:02 UTC
Ping?

(This package seems to be useful as require for new implementation of makeinfo in perl, would it be possible to finish this review?)

Comment 7 Jitka Plesnikova 2014-07-03 08:42:19 UTC
Do you still want to add the package?

Comment 8 Tom "spot" Callaway 2014-07-08 18:56:31 UTC
New Package SCM Request
=======================
Package Name: perl-Unicode-EastAsianWidth
Short Description: East Asian Width properties
Upstream URL: http://search.cpan.org/dist/Unicode-EastAsianWidth/
Owners: spot
Branches: f19 f20 el6 el7
InitialCC: perl-sig

Comment 9 Gwyn Ciesla 2014-07-08 20:02:08 UTC
Git done (by process-git-requests).

Comment 10 Jitka Plesnikova 2014-07-09 08:49:40 UTC
The branch f21 is missing.

https://admin.fedoraproject.org/pkgdb/package/perl-Unicode-EastAsianWidth/

Comment 11 Tom "spot" Callaway 2014-07-09 13:31:12 UTC
Yep. Looks like I didn't get builds done before branching.

Comment 12 Tom "spot" Callaway 2014-07-09 13:32:02 UTC
Package Change Request
======================
Package Name: perl-Unicode-EastAsianWidth
New Branches: f21
Owners: spot
InitialCC: perl-sig

Comment 13 Gwyn Ciesla 2014-07-09 14:02:29 UTC
Git done (by process-git-requests).


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