]> git.pld-linux.org Git - packages/python-sqlalchemy.git/blobdiff - python-SQLAlchemy.spec
verbose files
[packages/python-sqlalchemy.git] / python-SQLAlchemy.spec
index 1444e69c381fd6433cebb8047c0f7aa4dd9fb985..fb683f4a1dbbab591891eb0851dabc368f5f5327 100644 (file)
@@ -1,21 +1,24 @@
 # TODO:
 # - examples and docs for python3
 # - builds, but got syntax errors when buildings
+# - rename to python-sqlalchemy to match "import" line
 #
-%bcond_without python3
-%bcond_without python2
+%bcond_without python2 # CPython 2.x module
+%bcond_without python3 # CPython 3.x module
+
 %define                module  SQLAlchemy
-#
 Summary:       Database Abstraction Library
 Summary(pl.UTF-8):     Biblioteka abstrakcji baz danych
 Name:          python-%{module}
-Version:       0.6.4
-Release:       0.1
+Version:       0.6.9
+Release:       2
 License:       MIT
 Group:         Libraries/Python
 Source0:       http://downloads.sourceforge.net/sqlalchemy/%{module}-%{version}.tar.gz
-# Source0-md5: 9318e9f50255c481c06bf73b3c948bbc
+# Source0-md5: 518c5eeca5623bb1fbac74f6917f922a
 URL:           http://www.sqlalchemy.org/
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
 %if %{with python2}
 BuildRequires: python-devel >= 1:2.4
 BuildRequires: python-distribute
@@ -26,10 +29,8 @@ BuildRequires:       python3-2to3
 BuildRequires: python3-devel
 BuildRequires: python3-modules
 %endif
-BuildRequires: rpm-pythonprov
-BuildRequires: rpmbuild(macros) >= 1.219
 %if %{with python2}
-%pyrequires_eq  python-modules
+Requires:      python-modules
 %endif
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -103,8 +104,6 @@ rm -rf $RPM_BUILD_ROOT
        install \
        --root=$RPM_BUILD_ROOT \
        --optimize=2
-
-%py3_postclean
 %endif
 
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -116,13 +115,15 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc CHANGES README* doc/*.html
-%{py_sitescriptdir}/SQLAlchemy*
-%{py_sitescriptdir}/sqlalchemy*
+%{py_sitescriptdir}/sqlalchemy
+%{py_sitescriptdir}/sqlalchemy_nose
+%{py_sitescriptdir}/SQLAlchemy-%{version}-py*.egg-info
 %{_examplesdir}/%{name}-%{version}
 
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%{py3_sitescriptdir}/SQLAlchemy*
-%{py3_sitescriptdir}/sqlalchemy*
+%{py3_sitescriptdir}/sqlalchemy
+%{py3_sitescriptdir}/sqlalchemy_nose
+%{py3_sitescriptdir}/SQLAlchemy-%{version}-py*.egg-info
 %endif
This page took 0.052596 seconds and 4 git commands to generate.