summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/audio-hal-sc7727.spec8
1 files changed, 5 insertions, 3 deletions
diff --git a/packaging/audio-hal-sc7727.spec b/packaging/audio-hal-sc7727.spec
index bdc2098..495c50b 100644
--- a/packaging/audio-hal-sc7727.spec
+++ b/packaging/audio-hal-sc7727.spec
@@ -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}/*