summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2017-03-22 15:41:21 +0900
committerSooChan Lim <sc1.lim@samsung.com>2017-03-22 15:41:21 +0900
commitf4955abb3a373b2ec7a68e373ec8c77e3af26a14 (patch)
treed0049355f22133402a262bc29b0a2b831f17c90f
parentcb367261e170106202bc20d467b84fa3988bcc65 (diff)
downloadlibtbm-shm-f4955abb3a373b2ec7a68e373ec8c77e3af26a14.tar.gz
libtbm-shm-f4955abb3a373b2ec7a68e373ec8c77e3af26a14.tar.bz2
libtbm-shm-f4955abb3a373b2ec7a68e373ec8c77e3af26a14.zip
use %license macro to copy the COPYING file.tizen_3.0
Change-Id: Ia11d8543456cde127c51d4af4159d6e030677318
-rw-r--r--packaging/libtbm-shm.spec4
1 files changed, 1 insertions, 3 deletions
diff --git a/packaging/libtbm-shm.spec b/packaging/libtbm-shm.spec
index 6d5540e..e8e2255 100644
--- a/packaging/libtbm-shm.spec
+++ b/packaging/libtbm-shm.spec
@@ -28,8 +28,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
@@ -44,6 +42,6 @@ ln -s libtbm_shm.so %{_libdir}/bufmgr/libtbm_default.so
%files
%defattr(-,root,root,-)
%manifest libtbm-shm.manifest
-%{TZ_SYS_RO_SHARE}/license/%{name}
+%license COPYING
%{_libdir}/bufmgr/libtbm_*.so*