Using license macro instead of copying file accepted/tizen/3.0/common/20170324.141721 accepted/tizen/3.0/ivi/20170324.053523 accepted/tizen/3.0/mobile/20170324.053426 accepted/tizen/3.0/tv/20170324.053446 accepted/tizen/3.0/wearable/20170324.053457 submit/tizen_3.0/20170323.100213
authorInHong Han <inhong1.han@samsung.com>
Thu, 23 Mar 2017 06:09:34 +0000 (15:09 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Thu, 23 Mar 2017 10:04:23 +0000 (19:04 +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