From ac7ac9ed4aa390d7330f09bc5e0b3765882af520 Mon Sep 17 00:00:00 2001 From: tigro Date: Fri, 31 May 2024 15:18:17 +0300 Subject: [PATCH] Fix cmake files install --- SPECS/bcmatroska2.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SPECS/bcmatroska2.spec b/SPECS/bcmatroska2.spec index aa542dc..7c64e07 100644 --- a/SPECS/bcmatroska2.spec +++ b/SPECS/bcmatroska2.spec @@ -37,6 +37,10 @@ This package contains development files for %{name} %install %cmake_install +mkdir -p %{buildroot}%{_libdir}/cmake/ +mv %{_datadir}/BCMatroska2/cmake/* %{buildroot}%{_libdir}/cmake/ +rm -rf %{_datadir} + %files %{_libdir}/lib%{name}.so.*