[packages/bcg729/DEVEL-1.1] - disable cmake completeness check (so it doesn't require e.g. ortp-static)
qboosh
qboosh at pld-linux.org
Mon Jul 5 21:19:12 CEST 2021
commit b569abf99ce2555dce2d5de8fcc09d1824b83b08
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 5 21:22:23 2021 +0200
- disable cmake completeness check (so it doesn't require e.g. ortp-static)
bcg729.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/bcg729.spec b/bcg729.spec
index 71c8c82..2285f9b 100644
--- a/bcg729.spec
+++ b/bcg729.spec
@@ -80,6 +80,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}/Bcg729/cmake/Bcg729Targets.cmake
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/bcg729.git/commitdiff/b569abf99ce2555dce2d5de8fcc09d1824b83b08
More information about the pld-cvs-commit
mailing list