From 6fa5e4ee548fb5289286b5f93eb082bc3c8cc7ed Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Thu, 13 May 2021 08:45:49 +0900 Subject: install COPYING to /hal Change-Id: I8735dabfa1a3e0d14f3b61ca49e8db812d8092f0 --- packaging/libtbm-vigs.spec | 7 +++++-- 1 file 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 -- cgit v1.2.3