diff options
author | Junkyeong Kim <jk0430.kim@samsung.com> | 2021-03-18 11:46:54 +0900 |
---|---|---|
committer | Junkyeong Kim <jk0430.kim@samsung.com> | 2021-03-18 11:56:18 +0900 |
commit | 335012b4348f6363f86b224c37cf30fe5a78447e (patch) | |
tree | 6da2c262b17598c6454ffa72a71765dc924f0b60 /packaging | |
parent | 55ad0ed4fdabbc55023f3730d93d5e560042423d (diff) | |
download | libtdm-vc4-335012b4348f6363f86b224c37cf30fe5a78447e.tar.gz libtdm-vc4-335012b4348f6363f86b224c37cf30fe5a78447e.tar.bz2 libtdm-vc4-335012b4348f6363f86b224c37cf30fe5a78447e.zip |
Add post for hal backend
Make symbolic link for hal backend package.
Change-Id: I3704c0e2781f1e4d67739b43b2d1d87978e96bfc
Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/libtdm-vc4.spec | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/libtdm-vc4.spec b/packaging/libtdm-vc4.spec index 0ef4487..e374242 100644 --- a/packaging/libtdm-vc4.spec +++ b/packaging/libtdm-vc4.spec @@ -55,12 +55,15 @@ if [ -f %{_libdir}/tdm/libtdm-default.so ]; then fi ln -s libtdm-vc4.so %{_libdir}/tdm/libtdm-default.so +%postun -p /sbin/ldconfig + +%post -n hal-backend-tdm-vc4 if [ -f %{_hal_libdir}/libhal-backend-tdm.so ]; then rm -rf %{_hal_libdir}/libhal-backend-tdm.so fi ln -s libhal-backend-tdm-vc4.so %{_hal_libdir}/libhal-backend-tdm.so -%postun -p /sbin/ldconfig +%postun -n hal-backend-tdm-vc4 -p /sbin/ldconfig %files %defattr(-,root,root,-) |