summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 12:01:08 +0900
committerJunkyeong Kim <jk0430.kim@samsung.com>2021-03-18 12:01:09 +0900
commit6215175d17853bd8861f68c1779ccc684f27e14f (patch)
treebd3688fb4672f1ea9e83bdfba9bcc82d40257029
parent02bebabed9634d69e6de319a995b4dc0d0356dcc (diff)
downloadlibtdm-drm-6215175d17853bd8861f68c1779ccc684f27e14f.tar.gz
libtdm-drm-6215175d17853bd8861f68c1779ccc684f27e14f.tar.bz2
libtdm-drm-6215175d17853bd8861f68c1779ccc684f27e14f.zip
Add post for hal backend
Make symbolic link for hal backend package. Change-Id: Iea69c716c4f2f3d7ea9beed3462d3bedab8dbf5f Signed-off-by: Junkyeong Kim <jk0430.kim@samsung.com>
-rw-r--r--packaging/libtdm-drm.spec5
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/libtdm-drm.spec b/packaging/libtdm-drm.spec
index 5d3a671..ac5c716 100644
--- a/packaging/libtdm-drm.spec
+++ b/packaging/libtdm-drm.spec
@@ -54,12 +54,15 @@ if [ -f %{_libdir}/tdm/libtdm-default.so ]; then
fi
ln -s libtdm-drm.so %{_libdir}/tdm/libtdm-default.so
+%postun -p /sbin/ldconfig
+
+%post -n hal-backend-tdm-drm
if [ -f %{_hal_libdir}/libhal-backend-tdm.so ]; then
rm -rf %{_hal_libdir}/libhal-backend-tdm.so
fi
ln -s libhal-backend-tdm-drm.so %{_hal_libdir}/libhal-backend-tdm.so
-%postun -p /sbin/ldconfig
+%postun -n hal-backend-tdm-drm -p /sbin/ldconfig
%files
%defattr(-,root,root,-)