From 7e9d7e261a89c372486dc0776f1f3e9378af5f283eb10dca99aebc289522efaf Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 31 May 2021 20:27:14 +0000 Subject: [PATCH] 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 --- cmake.attr | 2 +- cmake.changes | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/cmake.attr b/cmake.attr index b1cb261..16ab59f 100644 --- a/cmake.attr +++ b/cmake.attr @@ -1,2 +1,2 @@ %__cmake_provides %{_rpmconfigdir}/cmake.prov -%__cmake_path ^/usr/lib(64)?/cmake/.*/.*(Config\.cmake|-config\.cmake)$ \ No newline at end of file +%__cmake_path ^/usr/(share|lib(64)?)/cmake/.*/.*(Config\.cmake|-config\.cmake)$ \ No newline at end of file diff --git a/cmake.changes b/cmake.changes index 9b04fcd..6ae4a52 100644 --- a/cmake.changes +++ b/cmake.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat May 29 12:08:21 UTC 2021 - Ferdinand Thiessen + +- 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