]> git.pld-linux.org Git - packages/carbon.git/blobdiff - carbon.spec
automatic change: use py_build/py_install macros
[packages/carbon.git] / carbon.spec
index c8cfc7f64461652aa60f65ba8424ac9132bbd5f1..531fdbe0f7bb56c8b47608049b6a0dcbf950de93 100644 (file)
@@ -42,16 +42,14 @@ Carbon is a data collection and storage agent.
 %setup -q
 
 %build
-%{__python} setup.py build
+%py_build
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 # http://graphite.readthedocs.org/en/0.9.12/install-source.html#installing-carbon-in-a-custom-location
-%{__python} setup.py install \
-       --skip-build \
-       --optimize=2 \
+%py_install \
        --install-scripts=%{_bindir} \
        --install-lib=%{py_sitescriptdir}/  \
        --install-data=%{_sharedstatedir}/%{name}  \
This page took 0.069517 seconds and 4 git commands to generate.