Bug 808987 - Review Request: python-certifi - Mozilla's SSL Certs
Summary: Review Request: python-certifi - Mozilla's SSL Certs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Praveen Kumar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 808912
TreeView+ depends on / blocked
 
Reported: 2012-04-02 06:55 UTC by Arun S A G
Modified: 2012-04-23 22:53 UTC (History)
3 users (show)

Fixed In Version: python-certifi-0.0.8-2.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-14 04:34:24 UTC
Type: ---
Embargoed:
kumarpraveen.nitdgp: fedora-review+
gwync: fedora-cvs+


Attachments (Terms of Use)

Description Arun S A G 2012-04-02 06:55:18 UTC
Spec URL: http://sagarun.fedorapeople.org/SPECS/python-certifi.spec
SRPM URL: http://sagarun.fedorapeople.org/SRPMS/python-certifi-0.0.8-1.fc16.src.rpm
Description: This package contains Mozilla's CA bundle for SSL.

Note: This package is required by python-requests package for https support

Comment 1 Praveen Kumar 2012-04-03 16:54:01 UTC
Package Review
==============

Key:
- = N/A
x = Pass
! = Fail
? = Not evaluated



==== Generic ====
[x]: MUST Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[x]: MUST Package successfully compiles and builds into binary rpms on at
     least one supported primary architecture.
[x]: MUST %build honors applicable compiler flags or justifies otherwise.
[?]: MUST All build dependencies are listed in BuildRequires, except for any
     that are listed in the exceptions section of Packaging Guidelines.
[x]: MUST Buildroot is not present
     Note: Unless packager wants to package for EPEL5 this is fine
[x]: MUST Package contains no bundled libraries.
[x]: MUST Changelog in prescribed format.
[x]: MUST Package has no %clean section with rm -rf %{buildroot} (or
     $RPM_BUILD_ROOT)
     Note: Clean would be needed if support for EPEL is required
[x]: MUST Sources contain only permissible code or content.
[x]: MUST Each %files section contains %defattr if rpm < 4.4
     Note: defattr(....) present in %files section. This is OK if packaging
     for EPEL5. Otherwise not needed
[x]: MUST Macros in Summary, %description expandable at SRPM build time.
[x]: MUST Package requires other packages for directories it uses.
[x]: MUST Package uses nothing in %doc for runtime.
[x]: MUST Package is not known to require ExcludeArch.
[!]: MUST Permissions on files are set properly.
[x]: MUST Package does not contain duplicates in %files.
[x]: MUST Spec file lacks Packager, Vendor, PreReq tags.
[!]: MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
[x]: MUST Large documentation files are in a -doc subpackage, if required.
[x]: 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 is included in %doc.
[x]: MUST License field in the package spec file matches the actual license.
[x]: MUST Package consistently uses macros (instead of hard-coded directory
     names).
[x]: MUST Package is named according to the Package Naming Guidelines.
[x]: MUST Package does not generate any conflict.
[x]: MUST Package obeys FHS, except libexecdir and /usr/target.
[x]: MUST Package must own all directories that it creates.
[x]: MUST Package does not own files or directories owned by other packages.
[?]: MUST Package installs properly.
[x]: MUST Requires correct, justified where necessary.
[!]: MUST Rpmlint output is silent.

rpmlint python-certifi.spec ../SRPMS/python-certifi-0.0.8-1.fc16.src.rpm ../RPMS/noarch/python-certifi-0.0.8-1.fc16.noarch.rpm 
python-certifi.noarch: W: no-documentation
python-certifi.noarch: E: non-executable-script /usr/lib/python2.7/site-packages/certifi/core.py 0644L /usr/bin/env
2 packages and 1 specfiles checked; 1 errors, 1 warnings.


[x]: MUST Sources used to build the package match the upstream source, as
     provided in the spec URL.
[x]: MUST Spec file is legible and written in American English.
[x]: MUST Spec file name must match the spec package %{name}, in the format
     %{name}.spec.
[-]: MUST Package contains a SysV-style init script if in need of one.
[x]: MUST File names are valid UTF-8.
[-]: MUST Useful -debuginfo package or justification otherwise.
[x]: SHOULD Reviewer should test that the package builds in mock.
[!]: SHOULD 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]: SHOULD Dist tag is present.
[x]: SHOULD No file requires outside of /etc, /bin, /sbin, /usr/bin,
     /usr/sbin.
[x]: SHOULD Final provides and requires are sane (rpm -q --provides and rpm -q
     --requires).
[?]: SHOULD Package functions as described.
[x]: SHOULD Latest version is packaged.
[x]: SHOULD Package does not include license text files separate from
     upstream.
[x]: SHOULD SourceX is a working URL.
[x]: SHOULD Description and summary sections in the package spec file contains
     translations for supported Non-English languages, if available.
[x]: SHOULD Package should compile and build into binary rpms on all supported
     architectures.
[-]: SHOULD %check is present and all tests pass.
[x]: SHOULD Packages should try to preserve timestamps of original installed
     files.
[x]: SHOULD Spec use %global instead of %define.


Issue :
1. MUST Permissions on files are set properly. (rpmlint throwing error)
2. MUST Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the
     beginning of %install.
     Note: rm -rf would be needed if support for EPEL5 is required
3. MUST Rpmlint output is silent. (SPEC, SRPM and RPM)
4. SHOULD If the source package does not include license text(s) as a
     separate file from upstream, the packager SHOULD query upstream to
     include it.
5. Remove commented lines which are not necessary. 
6. Build Require should be python2-devel
    https://fedoraproject.org/wiki/Packaging:Python#BuildRequires
7. In build section remove CFLAGES, for noarch is not needed
8. Drop sitelib macro from beginning of spec file, now it's not needed 
    http://fedoraproject.org/wiki/Packaging:Python#Macros

Comment 3 Praveen Kumar 2012-04-04 15:02:17 UTC
Looks good now.
========
APPROVED
========

Comment 4 Arun S A G 2012-04-04 15:27:03 UTC
New Package SCM Request
=======================
Package Name: python-certifi
Short Description: This package contains Mozilla's CA bundle for SSL.
Owners: sagarun
Branches: f16 f17 el6

Comment 5 Gwyn Ciesla 2012-04-04 15:32:43 UTC
Git done (by process-git-requests).

Comment 6 Fedora Update System 2012-04-08 10:04:06 UTC
python-certifi-0.0.8-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/python-certifi-0.0.8-2.el6

Comment 7 Fedora Update System 2012-04-08 10:12:17 UTC
python-certifi-0.0.8-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/python-certifi-0.0.8-2.fc16

Comment 8 Fedora Update System 2012-04-08 10:14:34 UTC
python-certifi-0.0.8-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/python-certifi-0.0.8-2.fc17

Comment 9 Fedora Update System 2012-04-08 16:21:44 UTC
python-certifi-0.0.8-2.fc17 has been pushed to the Fedora 17 testing repository.

Comment 10 Fedora Update System 2012-04-14 04:34:24 UTC
python-certifi-0.0.8-2.fc17 has been pushed to the Fedora 17 stable repository.

Comment 11 Fedora Update System 2012-04-18 19:44:15 UTC
python-certifi-0.0.8-2.fc16 has been pushed to the Fedora 16 stable repository.

Comment 12 Fedora Update System 2012-04-23 22:53:55 UTC
python-certifi-0.0.8-2.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.