diff options
author | Youngjae Shin <yj99.shin@samsung.com> | 2017-04-12 10:24:16 +0900 |
---|---|---|
committer | Youngjae Shin <yj99.shin@samsung.com> | 2017-04-12 10:24:16 +0900 |
commit | 289be13e32b34a6a4605f5444388b130ec0c3182 (patch) | |
tree | 83221d60dca64fb7a8d130a6be4f8c59c79a6be0 | |
parent | d7368567e299f8c28cd29ec8a416d7f6f3540754 (diff) | |
download | model-config-tm1-289be13e32b34a6a4605f5444388b130ec0c3182.tar.gz model-config-tm1-289be13e32b34a6a4605f5444388b130ec0c3182.tar.bz2 model-config-tm1-289be13e32b34a6a4605f5444388b130ec0c3182.zip |
revise packaging for unified buildsubmit/tizen/20170412.074047submit/tizen/20170412.014838accepted/tizen/unified/20170412.153431
Change-Id: I36e1f3570d85b7dddbed18ecc829468abcd707c1
-rw-r--r-- | packaging/model-config-tm1.spec | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/packaging/model-config-tm1.spec b/packaging/model-config-tm1.spec index 10312f6..c6fb2f2 100644 --- a/packaging/model-config-tm1.spec +++ b/packaging/model-config-tm1.spec @@ -2,12 +2,13 @@ Name: model-config-tm1 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 |