OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
5ac3f99d51
commit
72d7f16cfb
@@ -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,-)
|
||||
|
||||
Reference in New Issue
Block a user