X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-sqlalchemy.git;a=blobdiff_plain;f=python-SQLAlchemy.spec;h=5f54a264161c446e96bd77ab5007a88c7fb7cdeb;hp=08a2aa4c35e5b9e5d7a203d1b287897e916d0a79;hb=b08e6397c06a5b2987cc98479a69a1925aa27bfd;hpb=425ff2c26619ebc56f593944728fd5f024423ace diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 08a2aa4..5f54a26 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -1,5 +1,6 @@ # TODO: # - examples and docs for python3 +# - builds, but got syntax errors when buildings # %bcond_without python3 %bcond_without python2 @@ -8,21 +9,21 @@ Summary: Database Abstraction Library Summary(pl.UTF-8): Biblioteka abstrakcji baz danych Name: python-%{module} -Version: 0.6.1 -Release: 2 +Version: 0.6.8 +Release: 1 License: MIT Group: Libraries/Python Source0: http://downloads.sourceforge.net/sqlalchemy/%{module}-%{version}.tar.gz -# Source0-md5: 8b25a820a81469b54b05426705108061 +# Source0-md5: af56550a6eb8b7a8874b02c97407d73c URL: http://www.sqlalchemy.org/ %if %{with python2} BuildRequires: python-devel >= 1:2.4 +BuildRequires: python-distribute BuildRequires: python-setuptools >= 0.6-0.a9.1 %endif %if %{with python3} BuildRequires: python3-2to3 BuildRequires: python3-devel -BuildRequires: python3-distribute BuildRequires: python3-modules %endif BuildRequires: rpm-pythonprov @@ -100,11 +101,8 @@ rm -rf $RPM_BUILD_ROOT %if %{with python3} %{__python3} setup.py build -b build-3 \ install \ - --single-version-externally-managed \ --root=$RPM_BUILD_ROOT \ --optimize=2 - -%py3_postclean %endif install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}