macros: Simplify lua code for ctest argument processing

This commit is contained in:
Björn Esser 2024-12-02 17:15:20 +01:00
parent 91e5143359
commit dfb5aebef3
No known key found for this signature in database
GPG Key ID: F52E98007594C21D

View File

@ -51,7 +51,7 @@
--timeout 6000 \\\
%endif \
%{?_smp_mflags} \\\
%{lua:args=string.gsub(rpm.expand('%{**}'),"%-%-%s","");print(args);}
%{lua:print((string.gsub(rpm.expand('%{*}'),"%-%-%s","")))}
%cmake@@CMAKE_MAJOR_VERSION@@ %cmake