summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com>2019-09-26 19:34:20 +0900
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-09-26 19:34:20 +0900
commit6c678f535b80cc83b1e1996922d73eb6b22254da (patch)
treec393834c3649495afdc79d2f171c7397d7f20a22
parentd4681e4afc7537815838a1d2c0c90754d72a8658 (diff)
downloadnnfw-6c678f535b80cc83b1e1996922d73eb6b22254da.tar.gz
nnfw-6c678f535b80cc83b1e1996922d73eb6b22254da.tar.bz2
nnfw-6c678f535b80cc83b1e1996922d73eb6b22254da.zip
Do not install libraries with devel packages. (#7776)
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. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
-rw-r--r--packaging/nnfw.spec4
1 files changed, 0 insertions, 4 deletions
diff --git a/packaging/nnfw.spec b/packaging/nnfw.spec
index 200a678c9..c5b004477 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