forked from pool/cmake
Accepting request 1080965 from home:gmbr3:Active
- macros: substitute exactly once otherwise some non default values won't work OBS-URL: https://build.opensuse.org/request/show/1080965 OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=527
This commit is contained in:
parent
04ff4295d9
commit
bbc9c7d7f1
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 20 19:52:52 UTC 2023 - Callum Farmer <gmbr3@opensuse.org>
|
||||||
|
|
||||||
|
- macros: substitute exactly once otherwise some non default values
|
||||||
|
won't work
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 5 16:34:32 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
Wed Apr 5 16:34:32 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
@ -7,8 +7,8 @@
|
|||||||
%__builder %__make
|
%__builder %__make
|
||||||
%__sourcedir .
|
%__sourcedir .
|
||||||
|
|
||||||
%__cmake_make_prefix_relative() %{lua:print((string.gsub((rpm.expand("%1")), ((rpm.expand("%{_prefix}")) .. "/"), "")))}
|
%__cmake_make_prefix_relative() %{lua:print((string.gsub((rpm.expand("%1")), ((rpm.expand("%{_prefix}")) .. "/"), "", 1)))}
|
||||||
%__cmake_make_root_relative() %{lua:print((string.gsub((rpm.expand("%1")), "/", "")))}
|
%__cmake_make_root_relative() %{lua:print((string.gsub((rpm.expand("%1")), "/", "", 1)))}
|
||||||
|
|
||||||
%cmake \
|
%cmake \
|
||||||
find %__sourcedir -type f -name CMakeLists.txt \\\
|
find %__sourcedir -type f -name CMakeLists.txt \\\
|
||||||
|
Loading…
Reference in New Issue
Block a user