summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-WSGIUtils.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/python-WSGIUtils.spec b/python-WSGIUtils.spec
index a312d42..21480d5 100644
--- a/python-WSGIUtils.spec
+++ b/python-WSGIUtils.spec
@@ -38,11 +38,11 @@ lub łącznie:
%setup -q -n WSGIUtils-%{version}
%build
-python setup.py build
+%py_build
%install
rm -rf $RPM_BUILD_ROOT
-python setup.py install \
+%py_install \
--single-version-externally-managed \
--optimize=2 \
--root=$RPM_BUILD_ROOT