From: Elan Ruusamäe Date: Sun, 7 May 2006 09:43:37 +0000 (+0000) Subject: - adapter, typo, use macro X-Git-Tag: auto/th/python-SQLAlchemy-0_3_3-1~6 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fpython-sqlalchemy.git;a=commitdiff_plain;h=bbaffef677304405bb09401d863cce1500fb451c;ds=sidebyside - adapter, typo, use macro Changed files: python-SQLAlchemy.spec -> 1.2 --- diff --git a/python-SQLAlchemy.spec b/python-SQLAlchemy.spec index 3684ba9..9fab64a 100644 --- a/python-SQLAlchemy.spec +++ b/python-SQLAlchemy.spec @@ -2,23 +2,24 @@ Summary: Database Abstraction Library Name: python-SQLAlchemy Version: 0.1.7 Release: 1 -Group: Development/Languages/Python License: MIT +Group: Development/Languages/Python Source0: http://cheeseshop.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz # Source0-md5: 1c9c0124ad057c9fbcf8c4e16ecae960 URL: http://www.sqlalchemy.org/ BuildRequires: python-devel BuildRequires: python-setuptools >= 0.6-0.a9.1 +BuildRequires: rpmbuild(macros) >= 1.219 %pyrequires_eq python-modules BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description -The Python SQL toolkit and Object Relational Mapper that gives application -developers the full power and flexibility of SQL. SQLAlchemy provides a -full suite of well known enterprise-level persistence patterns, designed for -efficient and high-performing database access, adapted into a simple and -Pythonic domain languag. +The Python SQL toolkit and Object Relational Mapper that gives +application developers the full power and flexibility of SQL. +SQLAlchemy provides a full suite of well known enterprise-level +persistence patterns, designed for efficient and high-performing +database access, adapted into a simple and Pythonic domain language. %prep %setup -q -n SQLAlchemy-%{version} @@ -33,7 +34,7 @@ python setup.py install \ --optimize=2 \ --root=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT%{py_sitescriptdir} -name \*.py -exec rm -f \{\} \; +%py_postclean %clean rm -rf $RPM_BUILD_ROOT