Using license macro instead of copying file 93/120493/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170323.154624 accepted/tizen/ivi/20170324.023834 accepted/tizen/mobile/20170324.023718 accepted/tizen/tv/20170324.023749 accepted/tizen/unified/20170324.023859 accepted/tizen/wearable/20170324.023807 submit/tizen/20170323.095633 tizen_4.0.m1_release
authorInHong Han <inhong1.han@samsung.com>
Thu, 23 Mar 2017 06:09:34 +0000 (15:09 +0900)
committerInHong Han <inhong1.han@samsung.com>
Thu, 23 Mar 2017 07:23:46 +0000 (16:23 +0900)
Change-Id: I4867ddb948430f972d8dd6b7892f2a52fd948676

packaging/anthy.spec

index f90869b..4c63dd2 100644 (file)
@@ -45,8 +45,6 @@ make
 
 %install
 rm -rf ${RPM_BUILD_ROOT}
-mkdir -p %{buildroot}%{_datadir}/license
-cp COPYING %{buildroot}%{_datadir}/license/%{name}
 %makeinstall
 
 %clean
@@ -60,7 +58,7 @@ rm -rf ${RPM_BUILD_ROOT}
 %files
 %manifest %{name}.manifest
 %defattr(-,root,root)
-%{_datadir}/license/%{name}
+%license COPYING
 %{_bindir}/*
 %{_sysconfdir}/*
 %{_datadir}/anthy