SHA256
3
0
forked from pool/cmake

Accepting request 896100 from home:susnux:branches:devel:tools:building

Currently modules installed into `/usr/share/cmake` are not detected as `Provides: cmake(...)`.
The installation path is perfectly fine, see upstream documentation.

OBS-URL: https://build.opensuse.org/request/show/896100
OBS-URL: https://build.opensuse.org/package/show/devel:tools:building/cmake?expand=0&rev=462
This commit is contained in:
Dirk Mueller 2021-05-31 20:27:14 +00:00 committed by Git OBS Bridge
parent ca59518b45
commit 7e9d7e261a
2 changed files with 8 additions and 1 deletions

View File

@ -1,2 +1,2 @@
%__cmake_provides %{_rpmconfigdir}/cmake.prov
%__cmake_path ^/usr/lib(64)?/cmake/.*/.*(Config\.cmake|-config\.cmake)$
%__cmake_path ^/usr/(share|lib(64)?)/cmake/.*/.*(Config\.cmake|-config\.cmake)$

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat May 29 12:08:21 UTC 2021 - Ferdinand Thiessen <rpm@fthiessen.de>
- Fix rpm cmake-module detection, when modules are installed into
datadir instead of libdir.
https://cmake.org/cmake/help/latest/command/find_package.html#search-procedure
-------------------------------------------------------------------
Fri May 28 16:05:26 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>