]> git.pld-linux.org Git - packages/python-sqlalchemy.git/blobdiff - python-SQLAlchemy.spec
- fix without python3 build
[packages/python-sqlalchemy.git] / python-SQLAlchemy.spec
index bfeb0c20972d8a29617f7e1dce60a1f990fdfd3c..f3a4941a374ad84f29f9841eb002cbf499e83c05 100644 (file)
@@ -7,22 +7,23 @@
 #
 Summary:       Database Abstraction Library
 Summary(pl.UTF-8):     Biblioteka abstrakcji baz danych
-Name:          python-SQLAlchemy
-Version:       0.6.0
+Name:          python-%{module}
+Version:       0.6.1
 Release:       1
 License:       MIT
 Group:         Libraries/Python
 Source0:       http://downloads.sourceforge.net/sqlalchemy/%{module}-%{version}.tar.gz
-# Source0-md5: 575c2ca742e9ab3c08c384dbc4861f86
+# Source0-md5: 8b25a820a81469b54b05426705108061
 URL:           http://www.sqlalchemy.org/
 %if %{with python2}
 BuildRequires: python-devel >= 1:2.4
 BuildRequires: python-setuptools >= 0.6-0.a9.1
 %endif
 %if %{with python3}
+BuildRequires: python3-2to3
 BuildRequires: python3-devel
 BuildRequires: python3-distribute
-BuildRequires: python3-2to3
+BuildRequires: python3-modules
 %endif
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
@@ -64,7 +65,7 @@ database access, adapted into a simple and Pythonic domain language.
 
 Python 3.x version.
 
-%description -l pl.UTF-8 -n python3-%{module}
+%description -n python3-%{module} -l pl.UTF-8
 Zestaw narzędzi SQL dla Pythona oraz odwzorowań obiektowo-relacyjnych
 dających programistom całą potęgę i elastyczność SQL-a. SQLAlchemy
 udostępnia pełny zbiór dobrze znanych wzorców trwałości,
@@ -119,7 +120,9 @@ rm -rf $RPM_BUILD_ROOT
 %{py_sitescriptdir}/sqlalchemy*
 %{_examplesdir}/%{name}-%{version}
 
+%if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
 %{py3_sitescriptdir}/SQLAlchemy*
 %{py3_sitescriptdir}/sqlalchemy*
+%endif
This page took 0.073293 seconds and 4 git commands to generate.