[packages/carbon] automatic change: use py_build/py_install macros

jajcus jajcus at pld-linux.org
Sat Nov 28 19:24:00 CET 2015


commit 526588e9ed7fe8061ae29cf03791f395772b3142
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 28 19:20:07 2015 +0100

    automatic change: use py_build/py_install macros

 carbon.spec | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/carbon.spec b/carbon.spec
index c8cfc7f..531fdbe 100644
--- a/carbon.spec
+++ b/carbon.spec
@@ -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}  \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/carbon.git/commitdiff/526588e9ed7fe8061ae29cf03791f395772b3142



More information about the pld-cvs-commit mailing list