summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSooChan Lim <sc1.lim@samsung.com>2021-05-13 08:45:49 +0900
committerSooChan Lim <sc1.lim@samsung.com>2021-05-13 08:45:49 +0900
commit6fa5e4ee548fb5289286b5f93eb082bc3c8cc7ed (patch)
treed01117009c1ff50fb521b73d4b560c019c55bf00
parent25470b74e39dc547df396d948b89c45ee6ed3ad8 (diff)
downloadlibtbm-vigs-6fa5e4ee548fb5289286b5f93eb082bc3c8cc7ed.tar.gz
libtbm-vigs-6fa5e4ee548fb5289286b5f93eb082bc3c8cc7ed.tar.bz2
libtbm-vigs-6fa5e4ee548fb5289286b5f93eb082bc3c8cc7ed.zip
install COPYING to /hal
Change-Id: I8735dabfa1a3e0d14f3b61ca49e8db812d8092f0
-rw-r--r--packaging/libtbm-vigs.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/packaging/libtbm-vigs.spec b/packaging/libtbm-vigs.spec
index 9b918d8..165ceb2 100644
--- a/packaging/libtbm-vigs.spec
+++ b/packaging/libtbm-vigs.spec
@@ -60,9 +60,12 @@ make %{?_smp_mflags}
%install
rm -rf %{buildroot}
-
%make_install
+# make rule and license files
+mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vigs
+cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vigs
+
%post
if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then
rm -rf %{_libdir}/bufmgr/libtbm_default.so
@@ -109,7 +112,7 @@ ln -s libhal-backend-tbm-vigs.so %{_hal_libdir}/libhal-backend-tbm.so
%files -n hal-backend-tbm-vigs
%manifest libhal-backend-tbm-vigs.manifest
-%license COPYING
+%{_hal_licensedir}/libhal-backend-tbm-vigs/COPYING
%{_hal_libdir}/libhal-backend-*.so*
%files -n hal-backend-tbm-vigs-devel