From d6c3d332bbb648b61824b8754a9e204ac4f7592f Mon Sep 17 00:00:00 2001 From: Jiyong Min Date: Mon, 5 Sep 2016 11:40:15 +0900 Subject: [PATCH] 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 --- packaging/libmm-utility.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 -- 2.7.4