summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2021-05-12 13:48:28 +0900
committerSooChan Lim <sc1.lim@samsung.com>2021-05-12 13:52:40 +0900
commit3fca9aa733774354891138e6db696c2ebf1ce5dc (patch)
tree07c9960d5bebace5ab4c835d6a28c18f7b1892df
parent06c9c1381ef184bac28f9db04d76d5939f2f247e (diff)
downloadlibtbm-dumb-3fca9aa733774354891138e6db696c2ebf1ce5dc.tar.gz
libtbm-dumb-3fca9aa733774354891138e6db696c2ebf1ce5dc.tar.bz2
libtbm-dumb-3fca9aa733774354891138e6db696c2ebf1ce5dc.zip
install COPYING to /halsubmit/tizen/20210604.025052
Change-Id: Ie073a757797553488181b9dd157c6ae42b3b1202
-rw-r--r--packaging/libtbm-dumb.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/libtbm-dumb.spec b/packaging/libtbm-dumb.spec
index 77db947..d9c6aa0 100644
--- a/packaging/libtbm-dumb.spec
+++ b/packaging/libtbm-dumb.spec
@@ -48,6 +48,9 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%make_install
+# make license files
+mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-dumb
+cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-dumb
%post
if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
@@ -74,5 +77,5 @@ ln -s libhal-backend-tbm-dumb.so %{_hal_libdir}/libhal-backend-tbm.so
%files -n hal-backend-tbm-dumb
%manifest libhal-backend-tbm-dumb.manifest
%defattr(-,root,root,-)
-%license COPYING
+%{_hal_licensedir}/libhal-backend-tbm-dumb/COPYING
%{_hal_libdir}/libhal-backend-*.so*