forked from pool/python-SQLAlchemy
Accepting request 240130 from home:jenewton:branches:devel:languages:python
Is there a bible to your submission acceptance? I don't wish to do this dance of submit/reject - I want to play by the same rulebook. OBS-URL: https://build.opensuse.org/request/show/240130 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=60
This commit is contained in:
committed by
Git OBS Bridge
parent
84fa123be8
commit
ccf27c24b2
@@ -17,20 +17,20 @@
|
||||
|
||||
|
||||
Name: python-SQLAlchemy
|
||||
Version: 0.8.6
|
||||
Version: 0.9.6
|
||||
Release: 0
|
||||
Url: http://www.sqlalchemy.org
|
||||
Summary: Database Abstraction Library
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Source0: http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
|
||||
Patch1: sqlalchemy-0.7-setup_test.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
# Test requirements:
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-nose >= 0.11
|
||||
BuildRequires: python-pytest
|
||||
#BuildRequires: python-pysqlite
|
||||
Provides: python-sqlalchemy = %{version}
|
||||
Obsoletes: python-sqlalchemy < %{version}
|
||||
@@ -63,7 +63,6 @@ reference for python-SQLAlchemy.
|
||||
%setup -q -n SQLAlchemy-%{version}
|
||||
rm -rf doc/build # Remove unnecessary scripts for building documentation
|
||||
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py
|
||||
%patch1
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||
@@ -72,11 +71,11 @@ CFLAGS="%{optflags} -fno-strict-aliasing" python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
py.test
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES LICENSE README.rst README.py3k README.unittests.rst
|
||||
%doc CHANGES LICENSE README.rst README.dialects.rst README.unittests.rst
|
||||
%{python_sitearch}/sqlalchemy/
|
||||
%{python_sitearch}/SQLAlchemy-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user