Using %license macro to install license file instead of using manual command. 79/126979/1 accepted/tizen/unified/20170510.183300 submit/tizen/20170510.073036
authorWoochan Lee <wc0917.lee@samsung.com>
Tue, 25 Apr 2017 12:07:57 +0000 (21:07 +0900)
committerWoochan Lee <wc0917.lee@samsung.com>
Tue, 25 Apr 2017 12:08:09 +0000 (21:08 +0900)
Change-Id: Ifc6b663e13b0613183b0c86ce7efdb93ed28c1d0

packaging/e-mod-tizen-screen-reader.spec

index cb007e0..b76c8cd 100644 (file)
@@ -30,10 +30,6 @@ make
 %install
 rm -rf %{buildroot}
 
-# for license notification
-mkdir -p %{buildroot}/%{DataDir}/license
-cp -a %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{DataDir}/license/%{name}
-
 # install
 make install DESTDIR=%{buildroot}
 
@@ -43,4 +39,4 @@ find  %{buildroot}%{_libdir}/enlightenment/modules/%{name} -name *.la | xargs rm
 %files
 %defattr(-,root,root,-)
 %{_libdir}/enlightenment/modules/e-mod-tizen-screen-reader
-%{DataDir}/license/%{name}
+%license COPYING