Use %license macro 88/129788/1 accepted/tizen_4.0_unified accepted/tizen/4.0/unified/20170816.014103 accepted/tizen/4.0/unified/20170828.221909 accepted/tizen/unified/20170518.183041 submit/tizen/20170518.062640 submit/tizen/20170518.062803 submit/tizen/20170524.061950 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100008 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m1_release tizen_4.0.m2_release
authorjunkyu han <junkyu.han@samsung.com>
Thu, 18 May 2017 06:04:18 +0000 (15:04 +0900)
committerjunkyu han <junkyu.han@samsung.com>
Thu, 18 May 2017 06:04:55 +0000 (15:04 +0900)
Change-Id: Ide5d56a37880ac5584618937954304dc9c7c0d7d

packaging/attach-panel-gallery.spec

index ba62fb4..182de25 100644 (file)
@@ -37,8 +37,6 @@ Description: attach-panel-gallery UG
 
 %build
 
-%define _app_license_dir          %{TZ_SYS_SHARE}/license
-
 %if 0%{?tizen_build_devel_mode}
 export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
 export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
@@ -60,10 +58,6 @@ rm -rf %{buildroot}
 
 %make_install
 
-mkdir -p %{buildroot}%{_app_license_dir}
-cp LICENSE %{buildroot}%{_app_license_dir}/attach-panel-gallery
-
-
 %post
 mkdir -p /usr/ug/bin/
 ln -sf /usr/bin/ug-client %{TZ_SYS_RO_UG}/bin/attach-panel-gallery
@@ -78,5 +72,4 @@ ln -sf /usr/bin/ug-client %{TZ_SYS_RO_UG}/bin/attach-panel-gallery
 %{TZ_SYS_RO_UG}/res/locale/*/*/attach-panel-gallery.mo
 %{TZ_SYS_RO_PACKAGES}/attach-panel-gallery.xml
 %{TZ_SYS_RO_UG}/res/images/attach-panel-gallery/attach-panel-gallery.png
-%{TZ_SYS_SHARE}/license/attach-panel-gallery
-
+%license LICENSE