]> git.pld-linux.org Git - packages/python-keyczar.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 17:06:43 +0000 (18:06 +0100)
python-keyczar.spec

index 23c2454d50488d436f7aa7d171479e407172ef53..2040c6d272379ed7959fe85d9f705b6189493623 100644 (file)
@@ -33,7 +33,7 @@ symmetric and asymmetric keys.
 rm -r python_keyczar.egg-info
 
 %build
-%{__python} setup.py build
+%py_build
 
 %if %{with tests}
 cd tests/keyczar_tests
@@ -42,10 +42,7 @@ PYTHONPATH=$PYTHONPATH:../../src/ ./alltests.py
 
 %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.060925 seconds and 4 git commands to generate.