install COPYING to /hal 92/258192/2 submit/tizen/20210604.025052
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 12 May 2021 04:48:28 +0000 (13:48 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Wed, 12 May 2021 04:52:40 +0000 (13:52 +0900)
Change-Id: Ie073a757797553488181b9dd157c6ae42b3b1202

packaging/libtbm-dumb.spec

index 77db947..d9c6aa0 100644 (file)
@@ -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*