use %license macro to copy the COPYING file. 19/120219/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170329.150952 accepted/tizen/3.0/ivi/20170329.021500 accepted/tizen/3.0/mobile/20170329.020902 accepted/tizen/3.0/tv/20170329.021104 accepted/tizen/3.0/wearable/20170329.021251 accepted/tizen/common/20170331.152621 accepted/tizen/ivi/20170329.034217 accepted/tizen/mobile/20170329.034057 accepted/tizen/tv/20170329.034127 accepted/tizen/unified/20170329.034241 accepted/tizen/wearable/20170329.034157 submit/tizen/20170328.072410 submit/tizen_3.0/20170328.074051
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 06:34:16 +0000 (15:34 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 22 Mar 2017 06:34:16 +0000 (15:34 +0900)
Change-Id: I64c2932a780a8ad1b401ce5700bbb18862502a82

packaging/libtbm.spec

index 7ce1f76..a9f901c 100644 (file)
@@ -65,8 +65,6 @@ make -C ut check
 
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license
-cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name}
 %make_install
 
 
@@ -96,7 +94,7 @@ rm -f %{_unitdir_user}/basic.target.wants/tbm-drm-auth-user.path
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root,-)
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING
 %{_libdir}/libtbm.so.*
 %{_unitdir}/tbm-drm-auth.path
 %{_unitdir}/tbm-drm-auth.service