diff options
author | SooChan Lim <sc1.lim@samsung.com> | 2021-05-12 14:00:25 +0900 |
---|---|---|
committer | SooChan Lim <sc1.lim@samsung.com> | 2021-05-12 14:00:25 +0900 |
commit | 7a84d20b33bbb3a16ebdc87af9f5fcf0267fb093 (patch) | |
tree | a08235784b4e64cb090e0943da1b2efcb86ac22c | |
parent | b400455dac9690b5c53317aca2ab40cb8e1d4ece (diff) | |
download | libtbm-exynos-tgm-7a84d20b33bbb3a16ebdc87af9f5fcf0267fb093.tar.gz libtbm-exynos-tgm-7a84d20b33bbb3a16ebdc87af9f5fcf0267fb093.tar.bz2 libtbm-exynos-tgm-7a84d20b33bbb3a16ebdc87af9f5fcf0267fb093.zip |
install COPYING and udev.rules to /halsubmit/tizen/20210604.025052
Change-Id: Ic69f818bc86cbd70350ba916e006f17948dd41d3
-rw-r--r-- | packaging/libtbm-exynos-tgm.spec | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/packaging/libtbm-exynos-tgm.spec b/packaging/libtbm-exynos-tgm.spec index b951a27..1ed2766 100644 --- a/packaging/libtbm-exynos-tgm.spec +++ b/packaging/libtbm-exynos-tgm.spec @@ -45,13 +45,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-exynos-tgm.rules %{buildroot}%{_libdir}/udev/rules.d/ -cp -af rules/99-libhal-backend-tbm-exynos-tgm.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-exynos-tgm.rules %{buildroot}%{_hal_libdir}/udev/rules.d/ +mkdir -p %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-exynos-tgm +cp -af COPYING %{buildroot}%{_hal_licensedir}/libhal-backend-tbm-exynos-tgm %post if [ -f %{_libdir}/bufmgr/libtbm_default.so ]; then @@ -77,7 +81,6 @@ ln -s libhal-backend-tbm-exynos-tgm.so %{_hal_libdir}/libhal-backend-tbm.so %files -n hal-backend-tbm-exynos-tgm %manifest libhal-backend-tbm-exynos-tgm.manifest -%license COPYING +%{_hal_licensedir}/libhal-backend-tbm-exynos-tgm/COPYING %{_hal_libdir}/libhal-backend-*.so* -%{_libdir}/udev/rules.d/99-libhal-backend-tbm-exynos-tgm.rules - +%{_hal_libdir}/udev/rules.d/99-libhal-backend-tbm-exynos-tgm.rules |