From: Jiyong Min Date: Mon, 5 Sep 2016 02:40:15 +0000 (+0900) Subject: Remove RPM warning of executing scripts X-Git-Tag: accepted/tizen/3.0/ivi/20161011.044302^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d6c3d332bbb648b61824b8754a9e204ac4f7592f;p=platform%2Fcore%2Fmultimedia%2Flibmm-utility.git Remove RPM warning of executing scripts - 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 --- diff --git a/packaging/libmm-utility.spec b/packaging/libmm-utility.spec index 00789ab..a997100 100755 --- a/packaging/libmm-utility.spec +++ b/packaging/libmm-utility.spec @@ -69,8 +69,6 @@ sed -i -e "s#@BMP_REQPKG@#$BMP_REQPKG#g" bmp/mmutil-bmp.pc %install rm -rf %{buildroot} %make_install -mkdir -p %{buildroot}/usr/share/license -cp LICENSE %{buildroot}/usr/share/license/%{name} %clean rm -rf %{buildroot} @@ -79,10 +77,10 @@ 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