revise packaging for unified build 81/124581/1 accepted/tizen/unified/20170412.153438 submit/tizen/20170412.014838 submit/tizen/20170412.074047
authorYoungjae Shin <yj99.shin@samsung.com>
Wed, 12 Apr 2017 01:23:40 +0000 (10:23 +0900)
committerYoungjae Shin <yj99.shin@samsung.com>
Wed, 12 Apr 2017 01:23:40 +0000 (10:23 +0900)
Change-Id: I34a696c3455d9773b56d10cca30cad8d247b284c

LICENSE.Apache-2.0 [changed mode: 0755->0644]
NOTICE.APLv2 [changed mode: 0755->0644]
model-config.manifest [changed mode: 0755->0644]
model-config.xml [changed mode: 0755->0644]
packaging/model-config-artik.spec [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 5e1d726..892981d
@@ -2,12 +2,13 @@
 
 Name:          model-config-artik
 Summary:       A Model configuration
-Version:       0.0.1
+Version:       0.0.4
 Release:       0
 Group:         System/Configuration
 License:       Apache-2.0
 BuildArch:     noarch
 Source0:       %{name}-%{version}.tar.gz
+Provides:      model-config
 
 %description
 Model configuration data package
@@ -20,9 +21,12 @@ Model configuration data package
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_sysconfdir}/config
-cp -f model-config.xml %{buildroot}%{_sysconfdir}/config/model-config.xml
+cp -f model-config.xml %{buildroot}%{_sysconfdir}/config/%{name}.xml
+
+%post
+ln -sf %{name}.xml %{_sysconfdir}/config/model-config.xml
 
 %files
-%{_sysconfdir}/config/model-config.xml
 %manifest model-config.manifest
+%config %{_sysconfdir}/config/%{name}.xml
 %license LICENSE.Apache-2.0