[packages/bcunit] - disable installation completeness check in packaged cmake files, release 3

qboosh qboosh at pld-linux.org
Mon Apr 22 19:43:49 CEST 2019


commit 55bb0426efce5be8502681b979c409c94a63d242
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Mon Apr 22 19:44:04 2019 +0200

    - disable installation completeness check in packaged cmake files, release 3

 bcunit.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/bcunit.spec b/bcunit.spec
index 37d304e..7f094cc 100644
--- a/bcunit.spec
+++ b/bcunit.spec
@@ -6,7 +6,7 @@ Summary:	Provide C programmers basic testing functionality
 Summary(pl.UTF-8):	Podstawowa funkcjonalność testów dla programistów C
 Name:		bcunit
 Version:	3.0.2
-Release:	2
+Release:	3
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://linphone.org/releases/sources/bcunit/%{name}-%{version}.tar.gz
@@ -80,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} -C builddir 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}/BCunit/cmake/BcUnitTargets.cmake
+
 # packaged in includedir / as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/BCUnit
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcunit.git/commitdiff/55bb0426efce5be8502681b979c409c94a63d242



More information about the pld-cvs-commit mailing list