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>
%defattr(-,root,root,-)
%ifarch arm armv7l aarch64
%{_includedir}/*
-%{_libdir}/*
-%exclude %{_prefix}/bin/*
-%exclude %{_prefix}/unittest/*
-%exclude %{_libdir}/debug
%endif
%files test