summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python-FormEncode.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/python-FormEncode.spec b/python-FormEncode.spec
index 3ea3e5e..91ced02 100644
--- a/python-FormEncode.spec
+++ b/python-FormEncode.spec
@@ -32,12 +32,12 @@ i niezależne od nich wypełnianie i generowanie formularzy.
%setup -q -n %{module}-%{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