1861c7a451
[Sorry for the multiple subs] New package: cadabra2 -- A CAS for solving problems in field theory (intended to replace cadabra) OBS-URL: https://build.opensuse.org/request/show/490019 OBS-URL: https://build.opensuse.org/package/show/science/cadabra2?expand=0&rev=1
14 lines
615 B
Diff
14 lines
615 B
Diff
Index: cadabra2-2.1.4/CMakeLists.txt
|
|
===================================================================
|
|
--- cadabra2-2.1.4.orig/CMakeLists.txt
|
|
+++ cadabra2-2.1.4/CMakeLists.txt
|
|
@@ -17,7 +17,7 @@ endif()
|
|
if(GIT_COMMIT_DATE)
|
|
set(CADABRA_VERSION_DATE "${GIT_COMMIT_DATE}")
|
|
else()
|
|
- execute(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
+ execute_process(COMMAND date -I OUTPUT_VARIABLE THE_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
|
set(CADABRA_VERSION_DATE "${THE_DATE}")
|
|
endif()
|
|
message("-- Building ${CADABRA_VERSION_MAJOR}.${CADABRA_VERSION_MINOR}.${CADABRA_VERSION_PATCH}")
|