From: Youngjae Shin Date: Wed, 12 Apr 2017 01:23:40 +0000 (+0900) Subject: revise packaging for unified build X-Git-Tag: accepted/tizen/unified/20170412.153438^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6778ded59c95a2c1cec61f2b211716f6095b9520;p=platform%2Fadaptation%2Fartik%2Fmodel-config-artik.git revise packaging for unified build Change-Id: I34a696c3455d9773b56d10cca30cad8d247b284c --- diff --git a/LICENSE.Apache-2.0 b/LICENSE.Apache-2.0 old mode 100755 new mode 100644 diff --git a/NOTICE.APLv2 b/NOTICE.APLv2 old mode 100755 new mode 100644 diff --git a/model-config.manifest b/model-config.manifest old mode 100755 new mode 100644 diff --git a/model-config.xml b/model-config.xml old mode 100755 new mode 100644 diff --git a/packaging/model-config-artik.spec b/packaging/model-config-artik.spec old mode 100755 new mode 100644 index 5e1d726..892981d --- a/packaging/model-config-artik.spec +++ b/packaging/model-config-artik.spec @@ -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