[packages/dcmtk] - disable cmake package completeness check (to allow development without base package); release 3

qboosh qboosh at pld-linux.org
Fri Dec 11 06:27:17 CET 2020


commit 0972d69591c40011149e01438eaebcefab1a1685
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri Dec 11 06:27:38 2020 +0100

    - disable cmake package completeness check (to allow development without base package); release 3

 dcmtk.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/dcmtk.spec b/dcmtk.spec
index 5dbbb74..5eb25b5 100644
--- a/dcmtk.spec
+++ b/dcmtk.spec
@@ -12,7 +12,7 @@ Summary:	DICOM Toolkit - implementation of DICOM/MEDICOM standard
 Summary(pl.UTF-8):	Narzędzia DICOM - implementacja standardu DICOM/MEDICOM
 Name:		dcmtk
 Version:	3.6.5
-Release:	2
+Release:	3
 License:	BSD
 Group:		Libraries
 Source0:	https://dicom.offis.de/download/dcmtk/release/%{name}-%{version}.tar.gz
@@ -118,6 +118,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%{_libdir}/cmake/dcmtk/DCMTKTargets.cmake
+
 # packaged as %doc
 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dcmtk.git/commitdiff/0972d69591c40011149e01438eaebcefab1a1685



More information about the pld-cvs-commit mailing list