diff options
-rw-r--r-- | packaging/libtbm-vigs.spec | 7 |
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 |