fix launch fail of wearable nfc setting menu. 87/125287/1 accepted/tizen/4.0/unified/20170816.010650 accepted/tizen/4.0/unified/20170816.014350 accepted/tizen/4.0/unified/20170828.224252 accepted/tizen/unified/20170414.164157 submit/tizen/20170414.105026 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0/20170828.100001 submit/tizen_4.0/20170828.110001 submit/tizen_4.0_unified/20170814.115522 tizen_4.0.m1_release
authorHyihong Chae <hh.chae@samsung.com>
Fri, 14 Apr 2017 10:39:09 +0000 (19:39 +0900)
committerHyihong Chae <hh.chae@samsung.com>
Fri, 14 Apr 2017 10:42:06 +0000 (19:42 +0900)
Change-Id: I7b6fb9ed13e3ed2e503fb5856c1594de65b0a707
Signed-off-by: HyiHong Chae <hh.chae@samsung.com>
packaging/ug-nfc-efl.spec

index 0aebb7e..3553ba4 100644 (file)
@@ -1,6 +1,6 @@
 Name:       ug-nfc-efl
 Summary:    NFC Setting UI
-Version:    3.1.6
+Version:    3.1.7
 Release:    0
 Group:      App/Network
 License:    Flora-1.1
@@ -133,7 +133,9 @@ make %{?jobs:-j%jobs}
 
 popd
 mkdir -p wearable_ins
+mkdir -p wearable_ins/packages
 mv %{buildroot}/%{_prefix}/apps/org.tizen.nfc-setting-app/* wearable_ins/
+mv %{buildroot}/usr/share/packages/* wearable_ins/packages/
 %endif
 
 %install
@@ -142,6 +144,7 @@ cp -af %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/lice
 
 mkdir -p %{buildroot}/usr/share/packages
 mv common_ins/packages/* %{buildroot}/usr/share/packages/
+mv wearable_ins/packages/* %{buildroot}/usr/share/packages/
 
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
 # if common || tv || ivi || "undefined"
@@ -201,13 +204,13 @@ rm /usr/ug/lib/libug-nfc-efl*
 %files
 %defattr(-,root,root,-)
 %{_datadir}/license/LICENSE.Flora
-%{_datadir}/packages/*
 
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
 # if common || tv || ivi || "undefined"
 %if "%{?profile}" != "wearable" && "%{?profile}" != "mobile"
 %files profile_common
 /usr/ug/common/lib/*
+%{_datadir}/packages/ug-nfc-efl.xml
 %endif
 
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
@@ -215,6 +218,7 @@ rm /usr/ug/lib/libug-nfc-efl*
 %if "%{?profile}" != "common" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
 %files profile_mobile
 /usr/ug/mobile/lib/*
+%{_datadir}/packages/ug-nfc-efl.xml
 %endif
 
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability
@@ -222,6 +226,7 @@ rm /usr/ug/lib/libug-nfc-efl*
 %if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
 %files profile_wearable
 %{_prefix}/apps/org.tizen.nfc-setting-app/*
+%{_datadir}/packages/org.tizen.nfc-setting-app.xml
 %endif
 
 # This is for backward-compatibility. This does not deteriorate 4.0 Configurability