Change path of configuration and license files 03/259203/2 accepted/tizen_6.5_unified tizen_6.5 accepted/tizen/6.5/unified/20211028.093721 accepted/tizen/unified/20210608.131625 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:27:07 +0000 (14:27 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Wed, 2 Jun 2021 07:01:03 +0000 (16:01 +0900)
[Version] 0.1.42
[Issue Type] Update

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

index bdc2098..495c50b 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-sc7727
 Summary:    TIZEN Audio HAL for SC7727
-Version:    0.1.41
+Version:    0.1.42
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -23,7 +23,7 @@ TIZEN Audio HAL for SC7727
 %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"
 
@@ -37,6 +37,8 @@ make %{?jobs:-j%jobs}
 %install
 
 %make_install
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.APLv2 %{buildroot}%{_hal_licensedir}/%{name}
 
 %post
 /sbin/ldconfig
@@ -48,4 +50,4 @@ make %{?jobs:-j%jobs}
 %manifest audio-hal-sc7727.manifest
 %defattr(-,root,root,-)
 %{_hal_libdir}/libhal-backend-audio.so
-%license LICENSE.APLv2
+%{_hal_licensedir}/%{name}/*