Use license macro in spec file 65/120465/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170323.154410 accepted/tizen/ivi/20170324.023049 accepted/tizen/mobile/20170324.023003 accepted/tizen/tv/20170324.023015 accepted/tizen/unified/20170324.023110 accepted/tizen/wearable/20170324.023031 submit/tizen/20170323.063443
authorHaejeong Kim <backto.kim@samsung.com>
Thu, 23 Mar 2017 05:35:05 +0000 (14:35 +0900)
committerHaejeong Kim <backto.kim@samsung.com>
Thu, 23 Mar 2017 05:43:11 +0000 (14:43 +0900)
Change-Id: I820533fb3d5646b96ffef17665750769cbf70a8e

packaging/capi-media-image-util.spec

index fefd6c6..9bdf7fe 100755 (executable)
@@ -69,8 +69,6 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
-cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}
 
 %make_install
 
@@ -80,10 +78,10 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}
 
 %files
 %manifest %{name}.manifest
-%{_datadir}/license/%{name}
+%license LICENSE.APLv2.0
 %{_libdir}/lib*.so.*
 
-%files devel 
+%files devel
 %manifest %{name}.manifest
 %{_libdir}/lib*.so
 %{_libdir}/pkgconfig/*.pc
@@ -91,5 +89,5 @@ cp LICENSE.APLv2.0 %{buildroot}/usr/share/license/%{name}
 
 %files tool
 %manifest %{name}.manifest
-%defattr(-,root,root,-) 
+%defattr(-,root,root,-)
 %{_bindir}/*