Configuarbility/BuildingBlock Support for Tizen 4.0 64/96864/1
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 10 Nov 2016 11:32:52 +0000 (20:32 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 10 Nov 2016 11:33:44 +0000 (20:33 +0900)
- This is for Tizen 4.0. Do not merge into 3.0 (tizen_3.0) branch.

- When this commit gets SR'ed, the maintainer needs to create JIRA-TRE
 issue of:

 - Replace my-account with my-account-profile_wearable in wearable profile.

- For Tizen 4.0 Configurability / Building Blocks, every Tizen package
 should be able to be built in a single OBS project (Unified Build)
 and every Tizen pacakge should be able to be located in a single
 dependency tree.

- For Type-B packages (packages with same name but differnt profile
 located in different git paths), we add Provides for common package
 name to make this change transparent to other packages and make
 each package unique.

- Other twin, mobile: https://review.tizen.org/gerrit/#/c/96863/

Change-Id: I4f87347d8393cd84f266476b57d4e7ee36e8524c
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/my-account.spec

index 2d454041ae944377b35ff2929201d08290061c1f..a3475be29066c6a169eb671d330a6c3e27f9f42a 100644 (file)
@@ -1,7 +1,10 @@
-Name:       my-account
+%define alias my-account
+
+Name:       my-account-profile_wearable
 Summary:    My account application
 Version:    0.0.1
 Release:    0
+Provides:   my-account = %{version}-%{release}
 Group:      main/devel
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -37,7 +40,7 @@ make %{?jobs:-j%jobs}
 %make_install
 
 mkdir -p %{buildroot}/usr/share/license
-cp -af %{_builddir}/%{name}-%{version}/LICENSE.APLv2 %{buildroot}/usr/share/license/
+cp -af LICENSE.APLv2 %{buildroot}/usr/share/license/
 
 %post
 /sbin/ldconfig