(Spec File) When installing the main RPM, create a symlink to the profile so if it... 16/218016/1
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 18 Nov 2019 18:09:54 +0000 (18:09 +0000)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 18 Nov 2019 18:09:54 +0000 (18:09 +0000)
Change-Id: Ic9ca421cec63b5a62b6e4009efd93936db0a6628

packaging/dali-adaptor.spec

index bafc622..4d3c3a5 100644 (file)
@@ -469,6 +469,9 @@ popd
 exit 0
 
 %post
+pushd %{_libdir}
+for i in mobile tv wearable ivi; do [[ -f libdali-adaptor.so.$i ]] && ln -sf libdali-adaptor.so.$i libdali-adaptor.so.0.0.0; done
+popd
 /sbin/ldconfig
 exit 0