Change path of configuration and license files 02/259202/2 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.093547 accepted/tizen/unified/20210608.131516 submit/tizen/20210604.030216 submit/tizen_6.5/20211028.161601 tizen_6.5.m2_release
authorJaechul Lee <jcsing.lee@samsung.com>
Wed, 2 Jun 2021 05:19:28 +0000 (14:19 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Wed, 2 Jun 2021 05:24:15 +0000 (14:24 +0900)
[Version] 0.1.11
[Issue Type] Update

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

index 65ce1a4..6a0bb6e 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-exynos9110
 Summary:    TIZEN Audio HAL for Exynos9110(TW3)
-Version:    0.1.10
+Version:    0.1.11
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -22,7 +22,7 @@ TIZEN Audio HAL for Exynos9110(TW3)
 %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-exynos9110.manifest
 %defattr(-,root,root,-)
 %{_hal_libdir}/libhal-backend-audio.so
-%license LICENSE.Apache-2.0
+%{_hal_licensedir}/%{name}/*