summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2021-05-13 08:36:39 +0900
committerSooChan Lim <sc1.lim@samsung.com>2021-05-13 08:36:39 +0900
commit3f8ee7018e664903daddc4482119d6f22c1008e6 (patch)
tree8641b91e9dd78b1be7be01acaacfb258e7ad86c0
parentcfd52ccfcf02d395134d6cac2ef3ed66be983ed6 (diff)
downloadlibtbm-shm-3f8ee7018e664903daddc4482119d6f22c1008e6.tar.gz
libtbm-shm-3f8ee7018e664903daddc4482119d6f22c1008e6.tar.bz2
libtbm-shm-3f8ee7018e664903daddc4482119d6f22c1008e6.zip
Change-Id: I5c3e58949b1376acb4ae7e603a0ec06f5a503489
-rw-r--r--packaging/libtbm-shm.spec6
1 files changed, 5 insertions, 1 deletions
diff --git a/packaging/libtbm-shm.spec b/packaging/libtbm-shm.spec
index d17247e..32968ef 100644
--- a/packaging/libtbm-shm.spec
+++ b/packaging/libtbm-shm.spec
@@ -47,6 +47,10 @@ make %{?_smp_mflags}
rm -rf %{buildroot}
%make_install
+# make rule and license files
+mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-shm
+cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-shm
+
%post
if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
@@ -73,5 +77,5 @@ ln -s libhal-backend-tbm-shm.so %{_hal_libdir}/libhal-backend-tbm.so
%files -n hal-backend-tbm-shm
%defattr(-,root,root,-)
%manifest libhal-backend-tbm-shm.manifest
-%license COPYING
+%{_hal_licensedir}/libhal-backend-tbm-shm/COPYING
%{_hal_libdir}/libhal-backend-*.so*