Bug 880964 - Review Request: python-django-select2 - Select2 option fields for Django
Summary: Review Request: python-django-select2 - Select2 option fields for Django
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-28 09:46 UTC by Eduardo Echeverria
Modified: 2013-01-11 23:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-17 01:29:09 UTC
Type: Bug
Embargoed:
mrunge: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Eduardo Echeverria 2012-11-28 09:46:07 UTC
Spec URL: http://echevemaster.fedorapeople.org/python-django-select2/python-django-select2.spec
RPMS URL: http://echevemaster.fedorapeople.org/python-django-select2/python-django-select2-3.1.4-1.fc17.src.rpm

Description: Django includes basic select widget, which just generates
<select><option>…</option>…</select> tags.  Although their 
‘looks’ can be improved using basic CSS, but we hit a usability
problem when there are too many options to select from. 
This is where Django-Select2 comes into picture.

Fedora Account System Username: echevemaster

rpmlint out:

rpmlint -v python-django-select2.spec 
python-django-select2.spec: I: checking-url http://pypi.python.org/packages/source/D/Django-Select2/Django-Select2-3.1.4.tar.gz (timeout 10 seconds)
0 packages and 1 specfiles checked; 0 errors, 0 warnings.

rpmlint -v python-django-select2-3.1.4-1.fc17.src.rpm 
python-django-select2.src: I: checking
python-django-select2.src: I: checking-url https://github.com/applegrew/django-select2 (timeout 10 seconds)
python-django-select2.src: I: checking-url http://pypi.python.org/packages/source/D/Django-Select2/Django-Select2-3.1.4.tar.gz (timeout 10 seconds)
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

rpmlint -v python-django-select2-3.1.4-1.fc17.noarch.rpm 
python-django-select2.noarch: I: checking
python-django-select2.noarch: I: checking-url https://github.com/applegrew/django-select2 (timeout 10 seconds)
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

Tested on Koji:
rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=4737071
f18: http://koji.fedoraproject.org/koji/taskinfo?taskID=4737081
f17: http://koji.fedoraproject.org/koji/taskinfo?taskID=4737083

Comment 1 Matthias Runge 2012-11-30 08:49:05 UTC
Setup.py says: 

# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php

License.txt reads like BSD license.
Which license is valid?


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

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



===== 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]: Package successfully compiles and builds into binary rpms on at least one
     supported primary architecture.
[x]: %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.
[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.
[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]: 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.
[x]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses found:
     "MIT/X11 (BSD like)", "Unknown or generated". 2 files have unknown
     license. Detailed output of licensecheck in /home/mrunge/review/880964
     -python-django-select2/licensecheck.txt
[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.
[x]: 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.
[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.
[x]: Large documentation must go in a -doc subpackage.
     Note: Documentation size is 20480 bytes in 3 files.
[x]: Packages must not store files under /srv, /opt or /usr/local

Python:
[x]: Package contains BR: python2-devel or python3-devel
[x]: Binary eggs must be removed in %prep
     Note: Cannot find sources under BUILD (using prebuilt sources?)
[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

===== 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]: 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.
[!]: SourceX / PatchY prefixed with %{name}.
     Note: Source0 (Django-Select2-3.1.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.
[x]: 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-django-select2-3.1.4-1.fc19.src.rpm
          python-django-select2-3.1.4-1.fc19.noarch.rpm
2 packages and 0 specfiles checked; 0 errors, 0 warnings.




Rpmlint (installed packages)
----------------------------
# rpmlint python-django-select2
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
# echo 'rpmlint-done:'



Requires
--------
python-django-select2-3.1.4-1.fc19.noarch.rpm (rpmlib, GLIBC filtered):
    
    python(abi) = 2.7
    python-django  



Provides
--------
python-django-select2-3.1.4-1.fc19.noarch.rpm:
    
    python-django-select2 = 3.1.4-1.fc19



MD5-sum check
-------------
http://pypi.python.org/packages/source/D/Django-Select2/Django-Select2-3.1.4.tar.gz :
  CHECKSUM(SHA256) this package     : 25358663d2a5afa44b18b7f5c3053477ecd055c82d959e439ad0400b00f2f894
  CHECKSUM(SHA256) upstream package : 25358663d2a5afa44b18b7f5c3053477ecd055c82d959e439ad0400b00f2f894


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



Since setup.py is only used for package building, this is not a blocker.
In any case, it'd be nice to validate the license with respect to setup.py

Package APPROVED

Comment 2 Eduardo Echeverria 2012-12-02 02:44:07 UTC
Thanks for the review Matthias, I'll validate the license before importing

New Package SCM Request
=======================
Package Name: python-django-select2
Short Description: Select2 option fields for Django
Owners: echevemaster
Branches: f17 f18 el6
InitialCC:

Comment 3 Gwyn Ciesla 2012-12-02 02:49:47 UTC
Git done (by process-git-requests).

Comment 4 Fedora Update System 2012-12-04 05:18:20 UTC
python-django-select2-3.1.4-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/python-django-select2-3.1.4-1.fc18

Comment 5 Fedora Update System 2012-12-04 05:44:33 UTC
python-django-select2-3.1.4-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-django-select2-3.1.4-1.el6

Comment 6 Fedora Update System 2012-12-04 19:58:37 UTC
python-django-select2-3.1.4-1.el6 has been pushed to the Fedora EPEL 6 testing repository.

Comment 7 Fedora Update System 2012-12-17 01:29:11 UTC
python-django-select2-3.1.4-1.fc17 has been pushed to the Fedora 17 stable repository.

Comment 8 Fedora Update System 2012-12-19 18:32:37 UTC
python-django-select2-3.1.4-1.el6 has been pushed to the Fedora EPEL 6 stable repository.

Comment 9 Fedora Update System 2013-01-11 23:33:25 UTC
python-django-select2-3.1.4-1.fc18 has been pushed to the Fedora 18 stable repository.


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