HAL_MODULE_BLUETOOTH will support the multiple version of HAL interface.
So that v1.0 is first supported version of HAL_MODULE_BLUETOOTH.
And HALCC (HAL Compatibility Checker) checks and stores the hal-backend
compatibility result between HAL manifest and hal-backend package
under /opt/etc/hal/ directory. When installing/un-installing hal-api package,
hal-backend compatibility result should be reset.
So that reset the hal-backend compatibility result by executing
'usr/bin/hal-compatibility-checker --reset' command.
Change-Id: Ie7434ac3f7a2f8f8399e7c33c559d23925e58577
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
--- /dev/null
+<hal-api>
+ <manifest platform-version="9.0">
+ <hal-module>
+ <name>HAL_MODULE_BLUETOOTH</name>
+ <version>1.0</version>
+ </hal-module>
+ </manifest>
+</hal-api>
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest
Source2: %{devel_name}.manifest
+Source3: %{name}-manifest.xml
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%install
rm -rf %{buildroot}
+mkdir -p %{buildroot}%{_sysconfdir}/hal
+cp %{SOURCE3} %{buildroot}%{_sysconfdir}/hal/
%make_install
%clean
%post
/sbin/ldconfig
+/usr/bin/hal-compatibility-checker --reset
%postun
/sbin/ldconfig
+/usr/bin/hal-compatibility-checker --reset
### contain files to package #########
%files -n %{name}
%license LICENSE
%defattr(-,root,root,-)
%{_libdir}/hal/*.so*
+%{_sysconfdir}/hal/%{name}-manifest.xml
%files -n %{devel_name}
%defattr(-,root,root,-)