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

index 807b3c3586656fefd5347594c52fc12d6f807f64..6113349a0b21d6f60607f322635f00b14923f6e6 100644 (file)
@@ -29,14 +29,13 @@ poprawność XML-a do Pythona.
 
 %build
 CFLAGS="%{rpmcflags} -I/usr/include/ltxml12"; export CFLAGS
-python setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
-python setup.py install \
-       --root=$RPM_BUILD_ROOT
+%py_install
 
 cp -a example/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
This page took 0.095816 seconds and 4 git commands to generate.