[Bug 674674] Review Request: python-zope-configuration - Zope Configuration Markup Language (ZCML)

bugzilla at redhat.com bugzilla at redhat.com
Thu Feb 3 04:07:00 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


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

Robin Lee <robinlee.sysu at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Robin Lee <robinlee.sysu at gmail.com> 2011-02-02 23:06:59 EST ---
Here is the review:

 +:ok, =:needs attention, -:needs fixing

MUST Items:
[+] MUST: rpmlint must be run on every package.
$ rpmlint ./SRPMS/python-zope-configuration-3.7.2-1.fc14.src.rpm
./RPMS/noarch/python-zope-configuration-3.7.2-1.fc14.noarch.rpm
SPECS/python-zope-configuration.spec 
python-zope-configuration.src: W: spelling-error %description -l en_US
pluggable -> plug gable, plug-gable, plugged
python-zope-configuration.src: W: invalid-url Source0:
zope.configuration-3.7.2.zip
python-zope-configuration.noarch: E: devel-dependency python-setuptools-devel
python-zope-configuration.noarch: W: spelling-error %description -l en_US
pluggable -> plug gable, plug-gable, plugged
SPECS/python-zope-configuration.spec: W: invalid-url Source0:
zope.configuration-3.7.2.zip
2 packages and 1 specfiles checked; 1 errors, 4 warnings.

[+] MUST: The package must be named according to the Package Naming Guidelines.
[+] MUST: The spec file name must match the base package %{name}
[+] MUST: The package must be licensed with a Fedora approved license and meet
the Licensing Guidelines.
[+] MUST: The License field in the package spec file must match the actual
license.
[+] MUST: 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 must be included in %doc.
[+] MUST: The spec file must be written in American English.
[+] MUST: The spec file for the package MUST be legible.
[+] MUST: The sources used to build the package must match the upstream source,
as provided in the spec URL.
$ md5sum zope.configuration-3.7.2.zip 
8b08e9ff21325023918e7d6b12653c78  zope.configuration-3.7.2.zip

[+] MUST: The package must successfully compile and build into binary rpms on
at least one supported architecture.
[-] MUST: All build dependencies must be listed in BuildRequires
* According to setup.py, python-zope-testing is required to run the tests.

[+] MUST: A package must own all directories that it creates. If it does not
create a directory that it uses, then it should require a package which does
create that directory.
[+] MUST: A package must not contain any duplicate files in the %files listing.
[+] MUST: Permissions on files must be set properly. Executables should be set
with executable permissions, for example. Every %files section must include a
%defattr(...) line.
[+] MUST: Each package must consistently use macros, as described in the macros
section of Packaging Guidelines.
[+] MUST: The package must contain code, or permissible content. This is
described in detail in the code vs. content section of Packaging Guidelines.
[+] MUST: If a package includes something as %doc, it must not affect the
runtime of the application.
[=] MUST: Packages must not own files or directories already owned by other
packages.
* This package may not own %{python_sitelib}/zope/ , which already provided by
its dependence.

[+] MUST: At the beginning of %install, each package MUST run rm -rf
%{buildroot} (or $RPM_BUILD_ROOT).
[+] MUST: All filenames in rpm packages must be valid UTF-8.

SHOULD Items:
[+] SHOULD: The reviewer should test that the package functions as described.
[+] SHOULD: Packages should try to preserve timestamps of original installed
files.


Others:
[=] Consider including CHANGES.txt COPYRIGHT.txt
[=] Consider renaming python-setuptools-devel to python-setuptools
[-] Source0 URL:
http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.zip

[=] Buildroot, %clean section and the rm command in %install section are not
required.
http://fedoraproject.org/wiki/Packaging/Guidelines#BuildRoot_tag
http://fedoraproject.org/wiki/Packaging/Guidelines#.25clean

[=] Doctest text files in %{python_sitelib}/zope/configuration/ should be
excluded.
[=] Consider excluding the tests
/usr/lib/python2.7/site-packages/zope/configuration/tests

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the package-review mailing list