From 8d196cc78b69338524541ca9f52174570c57fcb8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=ED=95=A8=EB=AA=85=EC=A3=BC/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 26 Sep 2019 18:50:35 +0900 Subject: [PATCH] [Dist/Tizen] Do not install libraries with devel packages. (#7769) Do not install duplicated libraries with devel packages; it incur build errors in applications with indirect dependencies on nnfw. For example, if A Requires B and B BuildRequires nnfw, building A indirect-BuildRequires nnfw's *.so files, which cannot be resolved by GBS or OBS because both nnfw and nnfw-devel have nnfw's *.so files. Thus, if nnfw has all *.so files in _libdir, do not install them with devel except for representative symlinks. Fixes #7714 Signed-off-by: MyungJoo Ham --- packaging/nnfw.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packaging/nnfw.spec b/packaging/nnfw.spec index 307f766..315e5f7 100644 --- a/packaging/nnfw.spec +++ b/packaging/nnfw.spec @@ -131,10 +131,6 @@ rm -rf %{buildroot}%{test_install_prefix}/coverage-suite.tar.gz %defattr(-,root,root,-) %ifarch arm armv7l aarch64 %{_includedir}/* -%{_libdir}/* -%exclude %{_prefix}/bin/* -%exclude %{_prefix}/unittest/* -%exclude %{_libdir}/debug %endif %files test -- 2.7.4