summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Shin <yj99.shin@samsung.com>2017-04-12 10:24:16 +0900
committerYoungjae Shin <yj99.shin@samsung.com>2017-04-12 10:24:16 +0900
commit289be13e32b34a6a4605f5444388b130ec0c3182 (patch)
tree83221d60dca64fb7a8d130a6be4f8c59c79a6be0
parentd7368567e299f8c28cd29ec8a416d7f6f3540754 (diff)
downloadmodel-config-tm1-289be13e32b34a6a4605f5444388b130ec0c3182.tar.gz
model-config-tm1-289be13e32b34a6a4605f5444388b130ec0c3182.tar.bz2
model-config-tm1-289be13e32b34a6a4605f5444388b130ec0c3182.zip
Change-Id: I36e1f3570d85b7dddbed18ecc829468abcd707c1
-rw-r--r--packaging/model-config-tm1.spec10
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