[Bug 1295152] Review Request: python-wcwidth - Measures number of Terminal column cells of wide-character codes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1295152



--- Comment #2 from Terje Røsten <terjeros@xxxxxxxxxxxx> ---
Blockers:

1)
The included LICENSE file has nothing to do with actual LICENSE,
have you mixed up files in some way?

2)
Remove the shebang in tests/test_core.py to avoid the rpmlint warning:

python2-wcwidth.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/wcwidth/tests/test_core.py 644 /usr/bin/env
python3-wcwidth.noarch: E: non-executable-script
/usr/lib/python3.4/site-packages/wcwidth/tests/test_core.py 644 /usr/bin/env

Nice to have:

1) Create upstream ticket and ask for LICENSE to be included in source tarball
and license info included in each source file.


Full review:

Package Review
==============
Legend: [X] = Pass, [!] = Fail, [-] = Not applicable

===== 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.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "BSD (2 clause)", "Unknown or generated". 10 files have unknown
     license. Detailed output of licensecheck in
     /home/gudrun/terjeros/fedora/1295152-python-wcwidth/licensecheck.txt
[X]: License file installed when any subpackage combination is installed.
[X]: Package contains no bundled libraries without FPC exception.
[X]: Changelog in prescribed format.
[X]: Sources contain only permissible code or content.
[-]: Package contains desktop file if it is a GUI application.
[-]: Development files must be in a -devel package
[X]: Package uses nothing in %doc for runtime.
[X]: Package consistently uses macros (instead of hard-coded directory
     names).
[X]: Package is named according to the Package Naming Guidelines.
[X]: Package does not generate any conflict.
[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]: Requires correct, justified where necessary.
[X]: Spec file is legible and written in American English.
[-]: Package contains systemd file(s) if in need.
[X]: Package is not known to require an ExcludeArch tag.
[-]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 20480 bytes in 2 files.
[X]: Package complies to the Packaging Guidelines
[X]: Package successfully compiles and builds into binary rpms on at least
     one supported primary architecture.
[X]: Package installs properly.
[X]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[X]: 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 %license.
[X]: Package requires other packages for directories it uses.
[X]: Package must own all directories that it creates.
[X]: Package does not own files or directories owned by other packages.
[X]: All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[X]: Package uses either %{buildroot} or $RPM_BUILD_ROOT
[X]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[X]: Macros in Summary, %description expandable at SRPM build time.
[X]: Dist tag is present.
[X]: Package does not contain duplicates in %files.
[X]: Permissions on files are set properly.
[X]: Package use %makeinstall only when make install DESTDIR=... doesn't
     work.
[X]: Package is named using only allowed ASCII characters.
[X]: Package does not use a name that already exists.
[X]: Package is not relocatable.
[X]: Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[X]: File names are valid UTF-8.
[X]: Packages must not store files under /srv, /opt or /usr/local

Python:
[X]: Python eggs must not download any dependencies during the build
     process.
[X]: A package which is used by another package via an egg interface should
     provide egg info.
[X]: Package meets the Packaging Guidelines::Python
[X]: Package contains BR: python2-devel or python3-devel
[X]: Binary eggs must be removed in %prep

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

Generic:
[!]: 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]: Final provides and requires are sane (see attachments).
[-]: Fully versioned dependency in subpackages if applicable.
     Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in
     python2-wcwidth , python3-wcwidth
[X]: Package functions as described.
[X]: Latest version is packaged.
[!]: Package does not include license text files separate from upstream.
[-]: 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.
[-]: %check is present and all tests pass.
[X]: Packages should try to preserve timestamps of original installed
     files.
[X]: Packager, Vendor, PreReq, Copyright tags should not be in spec file
[X]: Sources can be downloaded from URI in Source: tag
[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]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin.
[X]: SourceX is a working URL.
[X]: Spec use %global instead of %define unless justified.

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

Generic:
[X]: Rpmlint is run on all installed packages.
     Note: There are rpmlint messages (see attachment).
[X]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: python2-wcwidth-0.1.5-1.fc23.noarch.rpm
          python3-wcwidth-0.1.5-1.fc23.noarch.rpm
          python-wcwidth-0.1.5-1.fc23.src.rpm
python2-wcwidth.noarch: W: spelling-error %description -l en_US implementors ->
implements, implement, tormentors
python2-wcwidth.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/wcwidth/tests/test_core.py 644 /usr/bin/env
python3-wcwidth.noarch: W: spelling-error %description -l en_US implementors ->
implements, implement, tormentors
python3-wcwidth.noarch: E: non-executable-script
/usr/lib/python3.4/site-packages/wcwidth/tests/test_core.py 644 /usr/bin/env
python-wcwidth.src: W: spelling-error %description -l en_US implementors ->
implements, implement, tormentors
python-wcwidth.src:67: W: setup-not-quiet
python-wcwidth.src: W: file-size-mismatch LICENSE = 1699,
https://raw.githubusercontent.com/jquast/wcwidth/master/LICENSE = 1101
3 packages and 0 specfiles checked; 2 errors, 5 warnings.


Rpmlint (installed packages)
----------------------------
python2-wcwidth.noarch: E: non-executable-script
/usr/lib/python2.7/site-packages/wcwidth/tests/test_core.py 644 /usr/bin/env
python3-wcwidth.noarch: E: non-executable-script
/usr/lib/python3.4/site-packages/wcwidth/tests/test_core.py 644 /usr/bin/env
2 packages and 0 specfiles checked; 2 errors, 0 warnings.


Requires
--------
python2-wcwidth (rpmlib, GLIBC filtered):
    python(abi)

python3-wcwidth (rpmlib, GLIBC filtered):
    python(abi)



Provides
--------
python2-wcwidth:
    python-wcwidth
    python2-wcwidth

python3-wcwidth:
    python3-wcwidth



Source checksums
----------------
https://pypi.python.org/packages/source/w/wcwidth/wcwidth-0.1.5.tar.gz :
  CHECKSUM(SHA256) this package     :
66c7ce3199c87833aaaa1fe1241b63261ce53c1062597c189a16a54713e0919d
  CHECKSUM(SHA256) upstream package :
66c7ce3199c87833aaaa1fe1241b63261ce53c1062597c189a16a54713e0919d
https://raw.githubusercontent.com/jquast/wcwidth/master/LICENSE :
  CHECKSUM(SHA256) this package     :
24083922567c3aa065bbe0f418c2b6ec834cbe6d299c2521575a490eb41ed5cb
  CHECKSUM(SHA256) upstream package :
0eddcc52cd3ef5d30798b8d43a14d3f0f1dcf0a6e4c1d0f2e177c44ce85bb69c
diff -r also reports differences

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review




[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]