commit 6fd0c12b01ef6be1028e172bf64c4aca8dfa4eaf
Author: Jacek Konieczny <[email protected]>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-pyrad.spec | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/python-pyrad.spec b/python-pyrad.spec
index 3ab1b10..a865118 100644
--- a/python-pyrad.spec
+++ b/python-pyrad.spec
@@ -53,8 +53,7 @@ python setup.py build_ext
rm -rf $RPM_BUILD_ROOT
install -d
$RPM_BUILD_ROOT{%{py_sitescriptdir},%{_examplesdir}/%{name}-%{version}}
-python setup.py install \
- --root=$RPM_BUILD_ROOT \
+%py_install \
--install-lib=%{py_sitescriptdir} \
--optimize=2
%py_postclean
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-pyrad.git/commitdiff/6fd0c12b01ef6be1028e172bf64c4aca8dfa4eaf
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit