From: SooChan Lim Date: Wed, 22 Mar 2017 06:38:03 +0000 (+0900) Subject: use %license macro to copy the COPYING file. X-Git-Tag: accepted/tizen/3.0/common/20170329.150910^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=77858c70328b02a21147878632d31494922cab56;p=platform%2Fadaptation%2Flibtbm-dumb.git use %license macro to copy the COPYING file. Change-Id: I2f3fa2a2d84aae7af5c422c8ce06a355a6c8eedf --- diff --git a/packaging/libtbm-dumb.spec b/packaging/libtbm-dumb.spec index 6af6f99..afd08f5 100644 --- a/packaging/libtbm-dumb.spec +++ b/packaging/libtbm-dumb.spec @@ -31,8 +31,6 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} -mkdir -p %{buildroot}/%{TZ_SYS_RO_SHARE}/license -cp -af COPYING %{buildroot}/%{TZ_SYS_RO_SHARE}/license/%{name} %make_install @@ -47,7 +45,7 @@ ln -s libtbm_dumb.so %{_libdir}/bufmgr/libtbm_default.so %files %manifest %{name}.manifest %defattr(-,root,root,-) -%{TZ_SYS_RO_SHARE}/license/%{name} +%license COPYING %{_libdir}/bufmgr/libtbm_*.so*