- PROBLEM
[ 155s] libmm-utility.armv7l: W: wrong-script-end-of-line-encoding /usr/share/license/libmm-utility
[ 155s] This script has wrong end-of-line encoding, usually caused by creation or
[ 155s] modification on a non-Unix system. It will prevent its execution.
[Solution] Add macro for license directory
Change-Id: I9bfa71a218d25773e1ac7fe2c95f7cc2ac9be185
Signed-off-by: Jiyong Min <jiyong.min@samsung.com>
%install
rm -rf %{buildroot}
%make_install
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE %{buildroot}/usr/share/license/%{name}
%clean
rm -rf %{buildroot}
%postun -p /sbin/ldconfig
%files
-/usr/share/license/%{name}
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_libdir}/*.so*
+%license LICENSE.APLv2.0
%files devel
%manifest %{name}.manifest