From 498fd54cb2f70b35d0d662f131756bfd81ccbd9b Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Wed, 9 Nov 2016 20:00:28 +0900 Subject: [PATCH] remove the profile condition at spec file make the symbolic link of tbm-drm-auth-user.path to basic.target.want Change-Id: Ie6d0ce9e859f38b8be2c475fbb1b02b7c90c33ac --- packaging/libtbm.spec | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packaging/libtbm.spec b/packaging/libtbm.spec index 5b2bf92..489347c 100644 --- a/packaging/libtbm.spec +++ b/packaging/libtbm.spec @@ -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 -- 2.7.4