Change path of configuration and license files 01/259201/3 accepted/tizen/6.5/unified/20211028.093822 accepted/tizen/unified/20210608.131359 submit/tizen/20210604.030216 submit/tizen/20211013.065211 submit/tizen_6.5/20211028.161501 tizen_6.5.m2_release
authorJaechul Lee <jcsing.lee@samsung.com>
Wed, 2 Jun 2021 05:18:08 +0000 (14:18 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Wed, 2 Jun 2021 05:22:17 +0000 (14:22 +0900)
[Version] 0.1.16
[Issue Type] Update

Change-Id: I8538f4d15df4560edeb2ba0d5bb3415e58017158
Signed-off-by: Jaechul Lee <jcsing.lee@samsung.com>
packaging/audio-hal-emul.spec

index 985b0b6..ab389e2 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-emul
 Summary:    TIZEN Audio HAL for Emulator
-Version:    0.1.15
+Version:    0.1.16
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -22,7 +22,7 @@ TIZEN Audio HAL for Emulator
 %setup -q -n %{name}-%{version}
 
 %build
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_sysconfdir}\\\""
+export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE -DSYSCONFDIR=\\\"%{_hal_sysconfdir}\\\""
 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
 
@@ -36,6 +36,8 @@ make %{?jobs:-j%jobs}
 %install
 rm -rf %{buildroot}
 %make_install
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.Apache-2.0 %{buildroot}%{_hal_licensedir}/%{name}
 
 %post
 /sbin/ldconfig
@@ -47,4 +49,4 @@ rm -rf %{buildroot}
 %manifest audio-hal-emul.manifest
 %defattr(-,root,root,-)
 %{_hal_libdir}/libhal-backend-audio.so
-%license LICENSE.Apache-2.0
+%{_hal_licensedir}/%{name}/*