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
%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"
%install
%make_install
+mkdir -p %{buildroot}%{_hal_licensedir}/%{name}
+cp LICENSE.APLv2 %{buildroot}%{_hal_licensedir}/%{name}
%post
/sbin/ldconfig
%manifest audio-hal-sc7727.manifest
%defattr(-,root,root,-)
%{_hal_libdir}/libhal-backend-audio.so
-%license LICENSE.APLv2
+%{_hal_licensedir}/%{name}/*