commit 7d3e6bb0120785b020fea626229f58ea14027498
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Wed Jun 10 23:16:53 2015 +0200

    - rel 2; compile py files (so py_postclean won't delete all our files)

 cura.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/cura.spec b/cura.spec
index dd8aab7..2e6fbd9 100644
--- a/cura.spec
+++ b/cura.spec
@@ -1,7 +1,7 @@
 Summary:       3D printer control software
 Name:          cura
 Version:       15.02.1
-Release:       1
+Release:       2
 Group:         Applications/Engineering
 # Code is AGPLv3
 # Icons AGPLv3 https://github.com/daid/Cura/issues/231#issuecomment-12209683
@@ -90,6 +90,9 @@ ln -sf %{_localedir}/ $RPM_BUILD_ROOT%{_datadir}/%{name}/ # 
the app expects the
 desktop-file-install --dir=$RPM_BUILD_ROOT%{_desktopdir} %{SOURCE2}
 
 %find_lang Cura
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitescriptdir}
+%py_comp $RPM_BUILD_ROOT%{py_sitescriptdir}
 %py_postclean
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cura.git/commitdiff/7d3e6bb0120785b020fea626229f58ea14027498

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to