[projects/template-specs] py_comp/py_ocomp must be before py_postclean
    qboosh 
    qboosh at pld-linux.org
       
    Tue Feb 23 17:35:32 CET 2016
    
    
  
commit 99f75e1ceba91db421cea4f8574be56e77de785f
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Feb 23 17:38:48 2016 +0100
    py_comp/py_ocomp must be before py_postclean
 python.spec | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/python.spec b/python.spec
index 960ba8c..65f62f1 100644
--- a/python.spec
+++ b/python.spec
@@ -92,13 +92,13 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %py_install
 
-%py_postclean
-
 # when files are installed in other way that standard 'setup.py
 # they need to be (re-)compiled
 # change %{py_sitedir} to %{py_sitescriptdir} for 'noarch' packages!
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
+
+%py_postclean
 %endif
 
 %if %{with python3}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/template-specs.git/commitdiff/99f75e1ceba91db421cea4f8574be56e77de785f
    
    
More information about the pld-cvs-commit
mailing list