--- /dev/null
+Summary: macros for profile build
+Name: profile-macros
+Version: 1
+Release: 1
+Group: System/Base
+License: GPLv2+
+BuildArch: noarch
+Source0: macros.mobile
+Source1: macros.wearable
+
+%description
+Macros for profile build
+
+%prep
+
+%build
+
+%install
+mkdir -p %{buildroot}/etc/rpm
+%if %{_repository} == "wearable"
+install -m 644 %{SOURCE1} %{buildroot}/etc/rpm
+%else
+install -m 644 %{SOURCE0} %{buildroot}/etc/rpm
+%endif
+
+%post
+
+%postun
+
+%files
+%if %{_repository} == "wearable"
+%config /etc/rpm/macros.wearable
+%else
+%config /etc/rpm/macros.mobile
+%endif