use %license macro to copy the COPYING file. 10/120210/1 accepted/tizen/3.0/common/20170329.150920 accepted/tizen/3.0/ivi/20170329.021452 accepted/tizen/3.0/mobile/20170329.020834 accepted/tizen/3.0/tv/20170329.021054 accepted/tizen/3.0/wearable/20170329.021240 submit/tizen_3.0/20170328.074051
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 06:16:05 +0000 (15:16 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 06:16:05 +0000 (15:16 +0900)
Change-Id: I76bc6e5e3c2a01425e2bd36b2d270019b4727e15

packaging/e-mod-tizen-devicemgr.spec

index 3feb9b59305a14340a1eed00c3fa0b05ae7d223d..4d37528b1397c5951a145a4a2193e53e98632640 100644 (file)
@@ -42,10 +42,6 @@ make
 %install
 rm -rf %{buildroot}
 
-# for license notification
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
-
 # install
 make install DESTDIR=%{buildroot}
 
@@ -55,4 +51,4 @@ find  %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm
 %files
 %defattr(-,root,root,-)
 %{_libdir}/enlightenment/modules/e-mod-tizen-devicemgr
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING