packaging: update packaging file to install license file via %license macro 03/120303/1
authorSung-Jin Park <sj76.park@samsung.com>
Wed, 22 Mar 2017 08:41:35 +0000 (17:41 +0900)
committerSung-Jin Park <sj76.park@samsung.com>
Wed, 22 Mar 2017 08:41:35 +0000 (17:41 +0900)
Change-Id: Ia41e402c996d11baae09c055c6396a8334abd033
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
packaging/e-mod-tizen-gesture.spec

index 149a0a696bc30ee33a5e90f7b1111351cbdae2f6..6171fa770166cc82c9036d45da7d2a5d04896ae2 100644 (file)
@@ -38,10 +38,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}
 
@@ -50,5 +46,5 @@ find  %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm
 
 %files
 %defattr(-,root,root,-)
+%license COPYING
 %{_libdir}/enlightenment/modules/e-mod-tizen-gesture
-/%{TZ_SYS_RO_SHARE}/license/%{name}