diff options
author | Youngjae Shin <yj99.shin@samsung.com> | 2017-04-12 10:26:11 +0900 |
---|---|---|
committer | Youngjae Shin <yj99.shin@samsung.com> | 2017-04-12 10:26:11 +0900 |
commit | 9f8b072efb9abd0cdebfe77843a3dfea4e62abfd (patch) | |
tree | 1e8d1373273df69de3459f278509618816395b35 | |
parent | 6a7de9dcf0f599c71b3453674d55dc1eabb118f9 (diff) | |
download | model-config-xu3-9f8b072efb9abd0cdebfe77843a3dfea4e62abfd.tar.gz model-config-xu3-9f8b072efb9abd0cdebfe77843a3dfea4e62abfd.tar.bz2 model-config-xu3-9f8b072efb9abd0cdebfe77843a3dfea4e62abfd.zip |
revise packaging for unified buildsubmit/tizen/20170412.014838
Change-Id: I19f5dc4fc45a6c9fad4df6dd97ab27587510b2a7
-rw-r--r-- | packaging/model-config-xu3.spec | 41 |
1 files changed, 19 insertions, 22 deletions
diff --git a/packaging/model-config-xu3.spec b/packaging/model-config-xu3.spec index 5424570..7223f45 100644 --- a/packaging/model-config-xu3.spec +++ b/packaging/model-config-xu3.spec @@ -2,36 +2,30 @@ Name: model-config-xu3 Summary: A Model configuration -Version: 0.0.2 +Version: 0.0.4 Release: 0 Group: System/Configuration License: Apache-2.0 BuildArch: noarch Source0: %{name}-%{version}.tar.gz -Requires: %{name}-compat = %{version}-%{release} -Recommends: %{name}-profile_common = %{version}-%{release} %description Model configuration data package %package profile_common -Summary: Model configuration of XU3 for common/mobile/wearable/tv profiles -Provides: %{name}-profile_mobile = %{version}-%{release} -Provides: %{name}-profile_wearable = %{version}-%{release} -Provides: %{name}-profile_tv = %{version}-%{release} -Provides: %{name}-compat = %{version}-%{release} -Conflicts: %{name}-profile_ivi +Summary: Model configuration of XU3 for common/mobile/wearable/tv profiles +Provides: model-config %description profile_common Model configuration data package main body supporting common/mobile/wearable/tv profiles %package profile_ivi -Summary: Model configuration of XU3 for IVI profile -Provides: %{name}-compat = %{version}-%{release} -Conflicts: %{name}-profile_common +Summary: Model configuration of XU3 for IVI profile +Provides: model-config %description profile_ivi Model configuration data package main body supporting IVI profile + %prep %setup -q -n %{name}-%{version} @@ -40,18 +34,21 @@ Model configuration data package main body supporting IVI profile %install rm -rf %{buildroot} mkdir -p %{buildroot}%{_sysconfdir}/config -cp -f model-config.xml %{buildroot}%{_sysconfdir}/config/model-config.xml -cp -f model-config_ivi.xml %{buildroot}%{_sysconfdir}/config/model-config.ivi.xml +cp -f model-config.xml %{buildroot}%{_sysconfdir}/config/%{name}.xml +cp -f model-config_ivi.xml %{buildroot}%{_sysconfdir}/config/%{name}_ivi.xml + +%post profile_common +ln -sf %{name}.xml %{_sysconfdir}/config/model-config.xml + +%post profile_ivi +ln -sf %{name}_ivi.xml %{_sysconfdir}/config/model-config.xml -%files -%manifest model-config.manifest %files profile_common -%{_sysconfdir}/config/model-config.xml +%manifest model-config.manifest +%{_sysconfdir}/config/%{name}.xml + -%post profile_ivi -ln -sf model-config.ivi.xml %{_sysconfdir}/config/model-config.xml -%preun profile_ivi -rm %{_sysconfdir}/config/model-config.xml %files profile_ivi -%{_sysconfdir}/config/model-config.ivi.xml +%manifest model-config.manifest +%{_sysconfdir}/config/%{name}_ivi.xml |