]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
restore %py_ocomp/%py_comp samples
authorElan Ruusamäe <glen@delfi.ee>
Mon, 22 Feb 2016 22:19:17 +0000 (00:19 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 22 Feb 2016 22:19:17 +0000 (00:19 +0200)
python.spec

index 32fea52122c2be2cb5dd7e3e9d215918417de45b..960ba8cd0482d031d461c48ac165d07772c44ff9 100644 (file)
@@ -93,6 +93,12 @@ rm -rf $RPM_BUILD_ROOT
 %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}
 %endif
 
 %if %{with python3}
This page took 0.114741 seconds and 4 git commands to generate.