From: Chanwoo Choi Date: Wed, 19 Jun 2024 06:42:01 +0000 (+0900) Subject: Add new HAL manifest file of HAL_MODULE_SENSOR X-Git-Tag: accepted/tizen/unified/20240621.010415~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7abd188c76fce1d64b4b4b66b89fc420b244cd0;p=platform%2Fhal%2Fapi%2Fsensor.git Add new HAL manifest file of HAL_MODULE_SENSOR HAL_MODULE_SENSOR will support the multiple version of HAL interface. So that v1.0 is first supported version of HAL_MODULE_SENSOR. Change-Id: I05ec2e6a29b378673a8cdd27195770fb9601a0ef Signed-off-by: Chanwoo Choi --- diff --git a/packaging/hal-api-sensor-manifest.xml b/packaging/hal-api-sensor-manifest.xml new file mode 100644 index 0000000..11503a2 --- /dev/null +++ b/packaging/hal-api-sensor-manifest.xml @@ -0,0 +1,8 @@ + + + + HAL_MODULE_SENSOR + 1.0 + + + diff --git a/packaging/hal-api-sensor.spec b/packaging/hal-api-sensor.spec index fa57960..e10b155 100644 --- a/packaging/hal-api-sensor.spec +++ b/packaging/hal-api-sensor.spec @@ -12,6 +12,7 @@ License: Apache-2.0 Source0: %{name}-%{version}.tar.gz Source1: %{name}.manifest Source2: %{devel_name}.manifest +Source3: %{name}-manifest.xml Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig @@ -58,6 +59,8 @@ make %{?jobs:-j%jobs} %install rm -rf %{buildroot} +mkdir -p %{buildroot}%{_sysconfdir}/hal +cp %{SOURCE3} %{buildroot}%{_sysconfdir}/hal/ %make_install %clean @@ -75,6 +78,7 @@ rm -rf %{buildroot} %license LICENSE %defattr(-,root,root,-) %{_libdir}/hal/*.so* +%{_sysconfdir}/hal/%{name}-manifest.xml %files -n %{devel_name} %defattr(-,root,root,-)