]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
py_comp/py_ocomp must be before py_postclean
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Feb 2016 16:38:48 +0000 (17:38 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 23 Feb 2016 16:38:48 +0000 (17:38 +0100)
python.spec

index 960ba8cd0482d031d461c48ac165d07772c44ff9..65f62f167a872e923e836c6340b5d740e701834f 100644 (file)
@@ -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}
This page took 0.211502 seconds and 4 git commands to generate.