Initial import

This commit is contained in:
rayvd 2008-06-03 22:38:24 +00:00
parent a52f3a2e53
commit c416da5143
4 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1 @@
pyodbc-2.0.58.zip

1
import.log Normal file
View File

@ -0,0 +1 @@
pyodbc-2_0_58-3:HEAD:pyodbc-2.0.58-3.src.rpm:1212532690

46
pyodbc.spec Normal file
View File

@ -0,0 +1,46 @@
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
Name: pyodbc
Version: 2.0.58
Release: 3%{?dist}
Summary: Python DB API 2.0 Module for ODBC
Group: Development/Languages
License: MIT
URL: http://pyodbc.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.zip
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: python >= 2.4, unixODBC
BuildRequires: unixODBC-devel, python-devel >= 2.4
%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.
%prep
%setup -q
%build
%{__python} setup.py build
%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc README.txt
%{python_sitearch}/*
%changelog
* Mon Jun 02 2008 Ray Van Dolson <rayvd@fedoraproject.org> - 2.0.58-3
- Removed silly python BuildRequires
* Mon Jun 02 2008 Ray Van Dolson <rayvd@fedoraproject.org> - 2.0.58-2
- Added python and python-devel to BuildRequires
* Fri May 30 2008 Ray Van Dolson <rayvd@fedoraproject.org> - 2.0.58-1
- Initial package

View File

@ -0,0 +1 @@
7252737ef4748a3cac50338cf9de9b96 pyodbc-2.0.58.zip