[packages/openjpeg2] drop check for static lib existence from cmake file; rel 2
atler
atler at pld-linux.org
Fri Aug 31 20:35:59 CEST 2018
commit d139d9a4580b86b1577033d7de21d95b0151e121
Author: Jan Palus <atler at pld-linux.org>
Date: Fri Aug 31 20:27:46 2018 +0200
drop check for static lib existence from cmake file; rel 2
for details see
http://lists.pld-linux.org/mailman/pipermail/pld-devel-en/2018-August/025578.html
openjpeg2.spec | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/openjpeg2.spec b/openjpeg2.spec
index ecfda61..dba9925 100644
--- a/openjpeg2.spec
+++ b/openjpeg2.spec
@@ -6,7 +6,7 @@ Summary: An open-source JPEG 2000 codec
Summary(pl.UTF-8): Biblioteka kodująca i dekodująca format JPEG 2000
Name: openjpeg2
Version: 2.3.0
-Release: 1
+Release: 2
License: BSD
Group: Libraries
#Source0Download: https://github.com/uclouvain/openjpeg/releases/
@@ -19,6 +19,7 @@ BuildRequires: lcms2-devel >= 2
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
BuildRequires: pkgconfig >= 1:0.22
+BuildRequires: sed >= 4.0
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -103,6 +104,9 @@ rm -rf $RPM_BUILD_ROOT
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/openjpeg-2.3
%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/html
+# disable completeness check incompatible with split packaging
+%{__sed} -i -e '/_IMPORT_CHECK_FILES_FOR_openjp2_static/d' $RPM_BUILD_ROOT%{_libdir}/openjpeg-2.3/OpenJPEGTargets-pld.cmake
+
%clean
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openjpeg2.git/commitdiff/d139d9a4580b86b1577033d7de21d95b0151e121
More information about the pld-cvs-commit
mailing list