[Bug 908842] Review Request: python-subunit - Python implementation of subunit test streaming protocol

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

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=908842

Alan Pevec <apevec@xxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(pbrady@xxxxxxxxxx
                   |                            |)

--- Comment #1 from Alan Pevec <apevec@xxxxxxxxx> ---
tldr:
licensing clarification
bundled iso8601
BR python2-devel


Package Review
==============

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


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

Generic:
[!]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
ASL 2.0 was choosen for packaging, README says Apache 2.0 or BSD 3-clause,
points to COPYING which is not included in the source tarball, and few source
files have different license header, see below.

[x]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[-]: %build honors applicable compiler flags or justifies otherwise.
[x]: 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.
bundles and patches iso8601
 - upstream seems dead
 - add this patch in python-iso8601 RPM, if essential

[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.
[ ]: Package complies to the Packaging Guidelines
[x]: Spec file lacks Packager, Vendor, PreReq tags.
[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 %doc.
[!]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "GPL (v2 or later) (with incorrect FSF address)", "MIT/X11 (BSD like)",
     "Unknown or generated".
* GPL (v2 or later) (with incorrect FSF address)
python-subunit-0.0.10/python/subunit/tests/TestUtil.py

Not sure that GPL can blend into ASL 2.0, quickfix: remove all tests and this
from RPM?

* MIT/X11 (BSD like)
python-subunit-0.0.10/python/subunit/iso8601.py

This bundled lib and should be replaced with python-iso8601 dependency.

* Unknown or generated
python-subunit-0.0.10/setup.py

Covered by README.

[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.
     Note: Package contains no Conflicts: tag(s)
[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 installs properly.
[x]: Package is not relocatable.
[!]: Requires correct, justified where necessary.
* add python-iso8601 dep, after removing bundled iso8601.py
[x]: CheckResultdir
[x]: Rpmlint is run on all rpms the build produces.
     Note: There are rpmlint messages (see attachment).
[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 30720 bytes in 2 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[!]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep
[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.
[!]: Package meets the Packaging Guidelines::Python
 BR python2-devel

===== 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.
[x]: The placement of pkgconfig(.pc) files are correct.
[x]: SourceX tarball generation or download is documented.
[x]: SourceX / PatchY prefixed with %{name}.
[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.
[-]: %check is present and all tests pass.
n/a if tests and TestUtil.py are removed (see license discusion above)
[-]: Packages should try to preserve timestamps of original installed files.
Does any package do that? Timestamps are build time.
[x]: Spec use %global instead of %define.

===== 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.
[x]: Large data in /usr/share should live in a noarch subpackage if package is
     arched.


Rpmlint
-------
Checking: python-subunit-0.0.10-1.fc19.src.rpm
          python-subunit-0.0.10-1.fc19.noarch.rpm
python-subunit.noarch: E: incorrect-fsf-address
/usr/lib/python2.7/site-packages/subunit/tests/TestUtil.py
python-subunit.noarch: W: no-manual-page-for-binary subunit2gtk
python-subunit.noarch: W: no-manual-page-for-binary subunit-tags
python-subunit.noarch: W: no-manual-page-for-binary tap2subunit
python-subunit.noarch: W: no-manual-page-for-binary subunit2junitxml
python-subunit.noarch: W: no-manual-page-for-binary subunit-ls
python-subunit.noarch: W: no-manual-page-for-binary subunit-filter
python-subunit.noarch: W: no-manual-page-for-binary subunit2pyunit
python-subunit.noarch: W: no-manual-page-for-binary subunit-notify
python-subunit.noarch: W: no-manual-page-for-binary subunit-stats
2 packages and 0 specfiles checked; 1 errors, 9 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint python-subunit
python-subunit.noarch: E: incorrect-fsf-address
/usr/lib/python2.7/site-packages/subunit/tests/TestUtil.py
python-subunit.noarch: W: no-manual-page-for-binary subunit2gtk
python-subunit.noarch: W: no-manual-page-for-binary subunit-tags
python-subunit.noarch: W: no-manual-page-for-binary tap2subunit
python-subunit.noarch: W: no-manual-page-for-binary subunit2junitxml
python-subunit.noarch: W: no-manual-page-for-binary subunit-ls
python-subunit.noarch: W: no-manual-page-for-binary subunit-filter
python-subunit.noarch: W: no-manual-page-for-binary subunit2pyunit
python-subunit.noarch: W: no-manual-page-for-binary subunit-notify
python-subunit.noarch: W: no-manual-page-for-binary subunit-stats
1 packages and 0 specfiles checked; 1 errors, 9 warnings.
# echo 'rpmlint-done:'



Requires
--------
python-subunit-0.0.10-1.fc19.noarch.rpm (rpmlib, GLIBC filtered):

    /usr/bin/python  
    python(abi) = 2.7
    python-testtools >= 0.9.23



Provides
--------
python-subunit-0.0.10-1.fc19.noarch.rpm:

    python-subunit = 0.0.10-1.fc19



MD5-sum check
-------------
http://pypi.python.org/packages/source/p/python-subunit/python-subunit-0.0.10.tar.gz
:
  CHECKSUM(SHA256) this package     :
40d166e1384d82d826135f924a2cc8f2e9d833acaa29616df432ec845ea87e23
  CHECKSUM(SHA256) upstream package :
40d166e1384d82d826135f924a2cc8f2e9d833acaa29616df432ec845ea87e23


Generated by fedora-review 0.3.1 (b71abc1) last change: 2012-10-16
Buildroot used: fedora-rawhide-x86_64

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=sQgRTL1pOm&a=cc_unsubscribe
_______________________________________________
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]