]> git.pld-linux.org Git - packages/carbon.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)
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.095659 seconds and 4 git commands to generate.