14
0
Sascha Peilicke
2012-03-10 17:38:13 +00:00
committed by Git OBS Bridge
parent 7239d532a6
commit 0a5a5b065a
2 changed files with 7 additions and 2 deletions

View File

@@ -23,11 +23,12 @@ Url: http://github.com/mongodb/mongo-python-driver
Summary: Python driver for MongoDB
License: Apache-2.0
Group: Development/Languages/Python
Source: pymongo-%{version}.tar.gz
Source: http://pypi.python.org/packages/source/p/pymongo/pymongo-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
#BuildRequires: python-nose
Requires: mongodb
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
@@ -48,7 +49,7 @@ CFLAGS="%{optflags}" python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
#%%check
#python setup.py test
%files