Bug 449151 - Review Request: pyodbc - Python DB API 2.0 Module for ODBC
Summary: Review Request: pyodbc - Python DB API 2.0 Module for ODBC
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jan ONDREJ
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-05-30 19:21 UTC by Ray Van Dolson
Modified: 2008-06-29 17:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-06-29 17:49:35 UTC
Type: ---
Embargoed:
ondrejj: fedora-review+
kevin: fedora-cvs+


Attachments (Terms of Use)

Description Ray Van Dolson 2008-05-30 19:21:35 UTC
Spec URL: http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc.spec
SRPM URL: http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc-2.0.58-1.src.rpm

Description:
A Python DB API 2 module for ODBC. This project provides an up-to-date, 
convenient interface to ODBC using native data types like datetime and 
decimal.

Questions:
- Should I included text of the MIT license even though source package doesn't
include it?

Comment 1 Jan ONDREJ 2008-06-02 18:57:55 UTC
(In reply to comment #0)
> Spec URL: http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc.spec
> SRPM URL: http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc-2.0.58-1.src.rpm

Looks OK for first look. rpmlint is clean, spec file is simple.

But does not build in mock:

DEBUG: /var/tmp/rpm-tmp.46918: line 27: /usr/bin/python: No such file or directory

I think python-devel or something similar is missing from BuildRequires.
Please fix this.

> Questions:
> - Should I included text of the MIT license even though source package doesn't
> include it?

I think no. You should ask developers to add license into package, but do not
include other license files into rpm.

- 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.

- 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.


Comment 2 Ray Van Dolson 2008-06-02 19:25:20 UTC
I'll poke upstream on this and add it when they do.

Updated files:

http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc.spec
http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc-2.0.58-2.src.rpm

(This builds for me in mock for EL5-i386, my Fedora mock setup is broken currently)

Comment 3 Jan ONDREJ 2008-06-02 19:55:41 UTC
Although there are many of warnings compiling on Fedora 9, I can build it for F8
and F9.

This is a warning on F9:
cursor.cpp:1159: warning: deprecated conversion from string constant to 'char*'
You can send this warning upstream, may be they know how to fix this.

Please, remove Buildrequire for python, it is automatically required by
python-devel, which is enough. Just fix this in spec file and I will approve
this package.


Comment 4 Ray Van Dolson 2008-06-02 20:56:18 UTC
Thanks Jan; d'oh on the python BuildRequire.  This has been addressed.

http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc.spec
http://www.bludgeon.org/~rayvd/rpms/pyodbc/pyodbc-2.0.58-3.src.rpm

Comment 5 Jan ONDREJ 2008-06-03 04:24:00 UTC
Thank you for new package. :-)

APPROVED


Comment 6 Ray Van Dolson 2008-06-03 04:57:22 UTC
New Package CVS Request
=======================
Package Name: pyodbc
Short Description: Python DB API 2.0 Module for ODBC
Owners: rayvd
Branches: F-8 F-9 EL-5
InitialCC:
Cvsextras Commits: yes

Comment 7 Kevin Fenzi 2008-06-03 16:24:13 UTC
cvs done.


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