[packages/bcmatroska2] - disable cmake completeness check, so -static is not required by -devel; release 2

qboosh qboosh at pld-linux.org
Sat Jul 10 14:54:25 CEST 2021


commit 2cee2aa59470cc70f08fb528b3c0afa681477dd7
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sat Jul 10 14:57:34 2021 +0200

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

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcmatroska2.git/commitdiff/2cee2aa59470cc70f08fb528b3c0afa681477dd7



More information about the pld-cvs-commit mailing list