Remove Profile Build Dependency (Type-B) 23/98623/6 accepted/tizen_mobile accepted/tizen/mobile/20170210.004148 accepted/tizen/unified/20170309.074901 submit/tizen/20170209.040545 submit/tizen_unified/20170308.100419 submit/tizen_unified/20170309.100418 tizen_4.0.m1_release
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 18 Nov 2016 02:53:28 +0000 (11:53 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 16 Jan 2017 12:15:54 +0000 (04:15 -0800)
- This is for Tizen 4.0.
  (4.0 Configurability and Building Blocks requires for each package
  to have a unique name even if the target profile is different.)

- You need to create JIRA-TRE issue when SR-ing this:

  - Replace org.tizen.privacy-setting with org.tizen.privacy-setting-profile_mobile in mobile profile
  - Refer https://review.tizen.org/gerrit/#/c/98624/ (the twin)

Change-Id: Ie09322bdbc51eb6ce1721b229ad18bdedaeaa2eb
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/org.tizen.privacy-setting.spec

index b3c0a38b21ab5adcb90f04fda1779ddda52a2d22..a1d6450ecbad4fbc7a18d08bd35ff9669efbc5c4 100755 (executable)
@@ -1,13 +1,15 @@
-%define        PREFIX  %{TZ_SYS_RO_APP}/%{name}
+%define alias org.tizen.privacy-setting
+%define        PREFIX  %{TZ_SYS_RO_APP}/%{alias}
 
-Name:    org.tizen.privacy-setting
+Name:    org.tizen.privacy-setting-profile_mobile
 Summary: Privacy setting ui application
 Version: 1.0.0
 Release: 1
+Provides: org.tizen.privacy-setting = %{version}-%{release}
 Group:   Applications/Other
 License: Apache-2.0
 Source0: %{name}-%{version}.tar.gz
-Source1001: %{name}.manifest
+Source1001: %{alias}.manifest
 BuildRequires: cmake
 BuildRequires: gettext-tools
 BuildRequires: edje-tools
@@ -69,10 +71,10 @@ echo "cyad done"
 
 %postun -p /sbin/ldconfig
 
-%files -n %{name} -f privacy-setting.lang
+%files -f privacy-setting.lang
 %defattr(-,root,root,-)
-%manifest %name.manifest
+%manifest %alias.manifest
 %license LICENSE
-%{TZ_SYS_RO_PACKAGES}/%name.xml
+%{TZ_SYS_RO_PACKAGES}/%alias.xml
 %{PREFIX}/bin/
 %{PREFIX}/res/icon/