[packages/python-ldaptor] automatic change: use py_build/py_install macros
jajcus
jajcus at pld-linux.org
Sat Nov 28 18:28:55 CET 2015
commit 16532a5da46f0b8fefce3dfcf64e28be1b2bf268
Author: Jacek Konieczny <jajcus at jajcus.net>
Date: Sat Nov 28 18:06:43 2015 +0100
automatic change: use py_build/py_install macros
python-ldaptor.spec | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python-ldaptor.spec b/python-ldaptor.spec
index c8fd044..2364285 100644
--- a/python-ldaptor.spec
+++ b/python-ldaptor.spec
@@ -86,7 +86,7 @@ library.
%{__sed} -i -e 's|/usr/share/xml|/usr/share/sgml|g' doc/Makefile doc/slides-driver.xsl
%build
-%{__python} setup.py build
+%py_build
%if %{with doc}
%{__make} -C doc
@@ -97,7 +97,7 @@ epydoc -o doc/api --name Ldaptor ldaptor --exclude 'ldaptor\.test\.' --simple-te
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sysconfdir}/ldaptor
-%{__python} setup.py install \
+%py_install \
--root $RPM_BUILD_ROOT
# library system-wide configuration and schema
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-ldaptor.git/commitdiff/16532a5da46f0b8fefce3dfcf64e28be1b2bf268
More information about the pld-cvs-commit
mailing list