Change path of configuration and license files 00/259200/1 accepted/tizen/unified/20210608.131209 submit/tizen/20210604.030216
authorJaechul Lee <jcsing.lee@samsung.com>
Wed, 2 Jun 2021 05:17:09 +0000 (14:17 +0900)
committerJaechul Lee <jcsing.lee@samsung.com>
Wed, 2 Jun 2021 05:17:09 +0000 (14:17 +0900)
[Version] 0.1.13
[Issue Type] Update

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

index f0a3fe2..def5acb 100644 (file)
@@ -1,6 +1,6 @@
 Name:       audio-hal-bcm2837
 Summary:    TIZEN Audio HAL for BCM2837
-Version:    0.1.12
+Version:    0.1.13
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
@@ -23,7 +23,7 @@ TIZEN Audio HAL for BCM2837
 %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
 rm -rf %{buildroot}
 %make_install
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.Apache-2.0 %{buildroot}%{_hal_licensedir}/%{name}
 
 %post
 /sbin/ldconfig
@@ -48,4 +50,4 @@ rm -rf %{buildroot}
 %manifest audio-hal-bcm2837.manifest
 %defattr(-,root,root,-)
 %{_hal_libdir}/libhal-backend-audio.so
-%license LICENSE.Apache-2.0
+%{_hal_licensedir}/%{name}/*