A ldd and ldconfig commands do not work.
Example1) "ldd /usr/bin/deviced | grep libhal-api-common"
Example2) "ldconfig -p | grep libhal-api-common"
Change-Id: I42d0ece00df2ebd4ef36e4f215140a31204397b0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest
+Source2: libhal-api.conf
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
rm -rf %{buildroot}
%make_install
+mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d/
+install -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ld.so.conf.d/
+
%clean
rm -rf %{buildroot}
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/hal/*.so*
+%{_sysconfdir}/ld.so.conf.d/libhal-api.conf
%files -n %{devel_name}
%defattr(-,root,root,-)
--- /dev/null
+/usr/lib/hal
+/usr/lib64/hal