]> git.pld-linux.org Git - packages/Zope-Component.git/commitdiff
automatic change: use py_build/py_install macros
authorJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
committerJacek Konieczny <jajcus@jajcus.net>
Sat, 28 Nov 2015 18:20:07 +0000 (19:20 +0100)
Zope-Component.spec

index 08f6cc3f0f8f0ffaa51f64e18047c503b51ea9af..9573a78cc85852611d62fa37e699fd904db41a5d 100644 (file)
@@ -31,12 +31,12 @@ RdzeƄ architektury komponentowej Zope Component Architecture.
 %setup -q -n zope.component-%{version}
 
 %build
 %setup -q -n zope.component-%{version}
 
 %build
-python ./setup.py build
+%py_build
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python ./setup.py install \
+%py_install \
        --install-purelib=%{py_sitedir} \
        --optimize 2 \
        --root=$RPM_BUILD_ROOT
        --install-purelib=%{py_sitedir} \
        --optimize 2 \
        --root=$RPM_BUILD_ROOT
This page took 0.056879 seconds and 5 git commands to generate.