17
0
Sascha Peilicke
2011-09-21 12:42:28 +00:00
committed by Git OBS Bridge
parent 5ac3f99d51
commit 72d7f16cfb
4 changed files with 21 additions and 10 deletions

View File

@@ -18,8 +18,8 @@
Name: python-SQLAlchemy
Version: 0.7.1
Release: 1
Version: 0.7.2
Release: 0
Url: http://www.sqlalchemy.org
Summary: Database Abstraction Library
License: MIT License
@@ -28,13 +28,13 @@ Source0: http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-%
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-nose
%if 0%{?suse_version}
BuildRequires: update-desktop-files
%py_requires
%endif
Provides: python-sqlalchemy = %{version}
# TODO: Change back to '<' on next version update:
Obsoletes: python-sqlalchemy <= %{version}
Obsoletes: python-sqlalchemy < %{version}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
@@ -62,13 +62,13 @@ rm -rf doc/build # Remove unnecessary scripts for building documentation
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py
%build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py --with-cextensions build
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py --with-cextensions build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%clean
rm -rf %{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)