From 2cee2aa59470cc70f08fb528b3c0afa681477dd7 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Sat, 10 Jul 2021 14:57:34 +0200 Subject: [PATCH] - disable cmake completeness check, so -static is not required by -devel; release 2 --- bcmatroska2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bcmatroska2.spec b/bcmatroska2.spec index 51e5d6e..42784f6 100644 --- a/bcmatroska2.spec +++ b/bcmatroska2.spec @@ -6,7 +6,7 @@ Summary: Matroska2 library for Belledonne Communications projects Summary(pl.UTF-8): Biblioteka Matroska2 do projektów Belledonne Communications Name: bcmatroska2 Version: 0.23 -Release: 1 +Release: 2 License: BSD Group: Libraries # for future releases see https://gitlab.linphone.org/BC/public/bcmatroska2/-/tags @@ -64,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT %{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT +# disable completeness check incompatible with split packaging +%{__sed} -i -e '/^foreach(target .*IMPORT_CHECK_TARGETS/,/^endforeach/d; /^unset(_IMPORT_CHECK_TARGETS)/d' $RPM_BUILD_ROOT%{_datadir}/bcmatroska2/cmake/BcMatroska2Targets.cmake + %clean rm -rf $RPM_BUILD_ROOT -- 2.44.0