remove the profile condition at spec file 89/96589/3
authorSooChan Lim <sc1.lim@samsung.com>
Wed, 9 Nov 2016 11:00:28 +0000 (20:00 +0900)
committerSooChan Lim <sc1.lim@samsung.com>
Thu, 10 Nov 2016 10:38:58 +0000 (02:38 -0800)
make the symbolic link of tbm-drm-auth-user.path to
basic.target.want

Change-Id: Ie6d0ce9e859f38b8be2c475fbb1b02b7c90c33ac

packaging/libtbm.spec

index 5b2bf92..489347c 100644 (file)
@@ -84,23 +84,14 @@ rm -rf %{buildroot}
 %__mkdir_p %{_unitdir}/graphical.target.wants
 ln -sf ../tbm-drm-auth.path %{_unitdir}/graphical.target.wants/
 
-%if "%{?profile}" == "mobile" || "%{?profile}" == "wearable"
 %__mkdir_p %{_unitdir_user}/basic.target.wants
 ln -sf ../tbm-drm-auth-user.path %{_unitdir_user}/basic.target.wants/
-%else
-%__mkdir_p %{_unitdir_user}/default.target.wants
-ln -sf ../tbm-drm-auth-user.path %{_unitdir_user}/default.target.wants/
-%endif
 
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 rm -f %{_unitdir}/graphical.target.wants/tbm-drm-auth.path
 
-%if "%{?profile}" == "mobile" || "%{?profile}" == "wearable"
 rm -f %{_unitdir_user}/basic.target.wants/tbm-drm-auth-user.path
-%else
-rm -f %{_unitdir_user}/default.target.wants/tbm-drm-auth-user.path
-%endif
 
 %files
 %manifest %{name}.manifest