commit 7f4329f7c48e8df9161460190ddb49ae01eadf19
Author: Jan RÄ™korajski <[email protected]>
Date:   Tue Jun 7 23:00:10 2022 +0200

    - cmake does not generate all rules (no install)
    - enable tests on all archs except x32

 openscad.spec | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
---
diff --git a/openscad.spec b/openscad.spec
index a23846b..ded6812 100644
--- a/openscad.spec
+++ b/openscad.spec
@@ -2,7 +2,7 @@
 # Conditional build:
 %bcond_without tests           # build with tests
 
-%ifnarch %{x8664}
+%ifarch x32
 %undefine      with_tests
 %endif
 Summary:       The Programmers Solid 3D CAD Modeller
@@ -151,15 +151,14 @@ expect some API changes, however many things are already 
working.
 %{__rm} -r src/ext/polyclipping
 
 %build
-mkdir -p build
-cd build
-%cmake ../ \
-       -DEXPERIMENTAL=ON
+qmake-qt5 \
+       PREFIX=%{_prefix} \
+       CONFIG+=experimental
 %{__make}
 
 %if %{with tests}
 export OPENSCAD_BINARY=$(pwd)/openscad
-cd ../tests
+cd tests
 %cmake .
 %{__make}
 %{__make} -j1 test
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openscad.git/commitdiff/7f4329f7c48e8df9161460190ddb49ae01eadf19

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

Reply via email to