]> git.pld-linux.org Git - packages/python-ldaptor.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-ldaptor.spec

index c8fd0449f542794f813ba55a2a6b5ae4fa048b47..236428502fcfeb7c8d54e996aaa686bbb37fb70c 100644 (file)
@@ -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
This page took 0.309018 seconds and 4 git commands to generate.