Summary: Client library for AMQP (Advanced Message Queuing Protocol)
Name: python-%{module}
Version: 1.0.2
-Release: 0.1
+Release: 1
License: LGPL v2.1
Group: Development/Languages/Python
Source0: http://pypi.python.org/packages/source/a/%{module}/%{module}-%{version}.tgz
%setup -q -n %{module}-%{version}
%build
-%{__python} setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install \
- --skip-build \
- --optimize=2 \
- --root=$RPM_BUILD_ROOT
+%py_install
%py_postclean