forked from pool/cmake
Accepting request 986453 from devel:tools:building
OBS-URL: https://build.opensuse.org/request/show/986453 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cmake?expand=0&rev=217
This commit is contained in:
commit
3eb1204bf4
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 2 07:32:54 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>
|
||||
|
||||
- Fix the %%cmake macro which tried to run sed on 'CMakeLists.txt'
|
||||
without making sure it's not a folder.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 5 00:03:22 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
%__sourcedir .
|
||||
|
||||
%cmake \
|
||||
find %__sourcedir -name CMakeLists.txt \\\
|
||||
find %__sourcedir -type f -name CMakeLists.txt \\\
|
||||
-exec sed -i -re '/^[[:blank:]]*[sS][eE][tT][[:blank:]]*\\\([[:blank:]]*(CMAKE_BUILD_TYPE|CMAKE_COLOR_MAKEFILE|CMAKE_INSTALL_PREFIX|CMAKE_VERBOSE_MAKEFILE).*\\\)/{s/^/#IGNORE /}' {} + \
|
||||
mkdir -p %__builddir \
|
||||
cd %__builddir \
|
||||
|
Loading…
Reference in New Issue
Block a user