]> git.pld-linux.org Git - packages/python-amqplib.git/blobdiff - python-amqplib.spec
automatic change: use py_build/py_install macros
[packages/python-amqplib.git] / python-amqplib.spec
index 92d1095ba77eb1785693265ce20b953e040d41d6..5396845eb97f3cc9052f743a478ee99df0ec37cc 100644 (file)
@@ -2,7 +2,7 @@
 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
@@ -23,14 +23,11 @@ Client library for AMQP (Advanced Message Queuing Protocol).
 %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
 
This page took 0.061361 seconds and 4 git commands to generate.