Bug 884855 - Review Request: python-webtest1.3 - Helper to test WSGI applications
Summary: Review Request: python-webtest1.3 - Helper to test WSGI applications
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: Package Review
Version: el6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-06 21:04 UTC by Ralph Bean
Modified: 2013-02-19 21:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-19 21:19:45 UTC
Type: ---
Embargoed:
tdabasin: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Ralph Bean 2012-12-06 21:04:39 UTC
Spec URL: http://ralph.fedorapeople.org//python-webtest1.3.spec
SRPM URL: http://ralph.fedorapeople.org//python-webtest1.3-1.3.4-3.fc18.src.rpm

Description:
WebTest wraps any WSGI application and makes it easy to send test
requests to that application, without starting up an HTTP server.

This provides convenient full-stack testing of applications written
with any WSGI-compatible framework.

Comment 1 Ralph Bean 2012-12-06 21:04:56 UTC
This package built on koji:  http://koji.fedoraproject.org/koji/taskinfo?taskID=4764796

Comment 2 Tomas Dabašinskas 2012-12-18 01:34:23 UTC
starting review

Comment 3 Tomas Dabašinskas 2012-12-18 01:47:28 UTC
Please remove python_sitelib macro definition from the top of the spec file as it's not required for el6.
dist-6E-epel scratch build with python_sitelib removed:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4798549

fedora-review output looks good

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

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


Issues:
=======
[!]: Package contains BR: python2-devel or python3-devel
See: http://fedoraproject.org/wiki/Packaging:Python#BuildRequires


===== 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.
[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.
[ ]: Changelog in prescribed format.
[x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
[ ]: Sources contain only permissible code or content.
[x]: Each %files section contains %defattr if rpm < 4.4
[ ]: 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
[ ]: 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.
[ ]: 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:
     "Unknown or generated". 1 files have unknown license. Detailed output of
     licensecheck in /mnt/pnt/tomas/884855-python-webtest1.3/licensecheck.txt
[ ]: Package consistently uses macro is (instead of hard-coded directory
     names).
[x]: Package is named using only allowed ASCII characters.
[ ]: Package is named according to the Package Naming Guidelines.
[ ]: Package does not generate any conflict.
     Note: Package contains no Conflicts: tag(s)
[x]: Package do not use a name that already exist
[ ]: Package obeys FHS, except libexecdir and /usr/target.
[ ]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[ ]: Package must own all directories that it creates.
[ ]: Package does not own files or directories owned by other packages.
[x]: Package installs properly.
[ ]: Package is not relocatable.
[ ]: Requires correct, justified where necessary.
[x]: CheckResultdir
[x]: Rpmlint is run on all rpms the build produces.
     Note: No rpmlint messages.
[x]: Sources used to build the package match the upstream source, as provided
     in the spec URL.
[ ]: 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 245760 bytes in 20 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[!]: Package contains BR: python2-devel or python3-devel
[ ]: Binary eggs must be removed in %prep
     Note: Cannot find sources under BUILD (using prebuilt sources?)
[ ]: Python eggs must not download any dependencies during the build process.
[ ]: A package which is used by another package via an egg interface should
     provide egg info.
[ ]: Package meets the Packaging Guidelines::Python

===== 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.
[ ]: Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: 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.
[!]: SourceX / PatchY prefixed with %{name}.
     Note: Source0 (WebTest-1.3.4.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.
[ ]: %check is present and all tests pass.
[ ]: Packages should try to preserve timestamps of original installed files.
[x]: Spec use %global instead of %define.

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

Generic:
[x]: Rpmlint is run on all installed packages.
     Note: No rpmlint messages.
[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-webtest1.3-1.3.4-3.el6.src.rpm
          python-webtest1.3-1.3.4-3.el6.noarch.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint python-webtest1.3
python-webtest1.3.noarch: I: enchant-dictionary-not-found en_US
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
# echo 'rpmlint-done:'



Requires
--------
python-webtest1.3-1.3.4-3.el6.noarch.rpm (rpmlib, GLIBC filtered):
    
    python(abi) = 2.6
    python-webob1.2  



Provides
--------
python-webtest1.3-1.3.4-3.el6.noarch.rpm:
    
    python-webtest1.3 = 1.3.4-3.el6



MD5-sum check
-------------
http://pypi.python.org/packages/source/W/WebTest/WebTest-1.3.4.tar.gz :
  CHECKSUM(SHA256) this package     : f8915f0da91ad47f84e8a7d49936263fb4c5fdd1fb2737e1a7553b2fe52992f1
  CHECKSUM(SHA256) upstream package : f8915f0da91ad47f84e8a7d49936263fb4c5fdd1fb2737e1a7553b2fe52992f1


Generated by fedora-review 0.3.1 (b71abc1) last change: 2012-10-16
Buildroot used: epel-6-x86_64
Command line :/usr/bin/fedora-review -b 884855

======

p.s. when submitting scratch builds for epel packages, please use dist-6E-epel build target: koji build --scratch dist-6E-epel *.srpm

Comment 4 Ralph Bean 2012-12-18 14:39:19 UTC
Thanks Tomas.  This new release removes the python_sitelib macro definition from the top of the spec.

koji build - http://koji.fedoraproject.org/koji/taskinfo?taskID=4799921

SPEC: http://threebean.org/rpm/python-webtest1.3.spec
SRPM: http://threebean.org/rpm/python-webtest1.3-1.3.4-4.fc18.src.rpm

Comment 5 Tomas Dabašinskas 2012-12-20 01:14:25 UTC
review completed, package approved

Comment 6 Ralph Bean 2012-12-20 16:12:11 UTC
New Package SCM Request
=======================
Package Name: python-webtest1.3
Short Description: Helper to test WSGI applications
Owners: ralph
Branches: el6
InitialCC:

Comment 7 Gwyn Ciesla 2012-12-20 16:13:50 UTC
Git done (by process-git-requests).

Comment 8 Fedora Update System 2012-12-20 20:05:34 UTC
python-webtest1.3-1.3.4-4.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-webtest1.3-1.3.4-4.el6

Comment 9 Fedora Update System 2013-01-22 03:32:38 UTC
python-webtest1.3-1.3.4-4.el6 has been pushed to the Fedora EPEL 6 stable repository.


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