SHA256
3
0
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:
Dominique Leuenberger 2022-07-05 10:08:43 +00:00 committed by Git OBS Bridge
commit 3eb1204bf4
2 changed files with 7 additions and 1 deletions

View File

@ -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>

View File

@ -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 \