[python-ladon/f16] mode the prep block to prep and not to build

Matthias Runge mrunge at fedoraproject.org
Mon Mar 12 10:06:01 UTC 2012


commit bf5f2410346ea833322127e54da65ecbbf9b1868
Author: Matthias Runge <mrunge at matthias-runge.de>
Date:   Mon Mar 12 11:05:29 2012 +0100

    mode the prep block to prep and not to build

 python-ladon.spec |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/python-ladon.spec b/python-ladon.spec
index 62223e4..3b1adc4 100644
--- a/python-ladon.spec
+++ b/python-ladon.spec
@@ -24,10 +24,6 @@ Ladon's protocol support.
 %prep
 %setup -q -n ladon-%{version}
 
-
-%build
-%{__python} setup.py build
-
 # remove egg-info:
 rm -rf src/ladon.egg-info
 
@@ -39,6 +35,8 @@ for i in `find src/ladon -name '*.py'`; do
     sed -i -e 's/chardet_py2/chardet/' $i
 done
 
+%build
+%{__python} setup.py build
 
 
 %install


More information about the scm-commits mailing list