diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2021-05-12 13:24:43 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2021-05-12 13:24:43 +0900 |
commit | 37b1b0b9d69634ca4fa5f1df7d20c7c1b13a6506 (patch) | |
tree | 30b7b0909c8ed47b4ce460f2fdb4afd281b2c397 | |
parent | 500447139266e6d9ee6f9f9810023bb080543853 (diff) | |
download | libtbm-vc4-37b1b0b9d69634ca4fa5f1df7d20c7c1b13a6506.tar.gz libtbm-vc4-37b1b0b9d69634ca4fa5f1df7d20c7c1b13a6506.tar.bz2 libtbm-vc4-37b1b0b9d69634ca4fa5f1df7d20c7c1b13a6506.zip |
install COPYING and udev.rules to /hal
Change-Id: I2eab5f3d7cd6fc5d52054c2a3d43624d84a3aff6
-rw-r--r-- | packaging/libtbm-vc4.spec | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/packaging/libtbm-vc4.spec b/packaging/libtbm-vc4.spec index 1987bc5..5d9e9ce 100644 --- a/packaging/libtbm-vc4.spec +++ b/packaging/libtbm-vc4.spec @@ -46,13 +46,17 @@ make %{?_smp_mflags} %install rm -rf %{buildroot} +%make_install # make rule for tgl mkdir -p %{buildroot}%{_libdir}/udev/rules.d/ cp -af rules/99-libtbm-vc4.rules %{buildroot}%{_libdir}/udev/rules.d/ -cp -af rules/99-libhal-backend-tbm-vc4.rules %{buildroot}%{_libdir}/udev/rules.d/ -%make_install +# make rule and license files +mkdir -p %{buildroot}%{_hal_libdir}/udev/rules.d/ +cp -af rules/99-libhal-backend-tbm-vc4.rules %{buildroot}%{_hal_libdir}/udev/rules.d/ +mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vc4 +cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-vc4 %post if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then @@ -78,6 +82,6 @@ ln -s libhal-backend-tbm-vc4.so %{_hal_libdir}/libhal-backend-tbm.so %files -n hal-backend-tbm-vc4 %manifest libhal-backend-tbm-vc4.manifest -%license COPYING +%{_hal_licensedir}/libhal-backend-tbm-vc4/COPYING %{_hal_libdir}/libhal-backend-*.so* -%{_libdir}/udev/rules.d/99-libhal-backend-tbm-vc4.rules +%{_hal_libdir}/udev/rules.d/99-libhal-backend-tbm-vc4.rules |