From: Woochan Lee Date: Tue, 25 Apr 2017 12:07:57 +0000 (+0900) Subject: Using %license macro to install license file instead of using manual command. X-Git-Tag: submit/tizen/20170510.073036^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F126979%2F1;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-screen-reader.git Using %license macro to install license file instead of using manual command. Change-Id: Ifc6b663e13b0613183b0c86ce7efdb93ed28c1d0 --- diff --git a/packaging/e-mod-tizen-screen-reader.spec b/packaging/e-mod-tizen-screen-reader.spec index cb007e0..b76c8cd 100644 --- a/packaging/e-mod-tizen-screen-reader.spec +++ b/packaging/e-mod-tizen-screen-reader.spec @@ -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