summaryrefslogtreecommitdiff
path: root/packaging/ico-uxf-weston-plugin.spec
diff options
context:
space:
mode:
authorOssama Othman <ossama.othman@intel.com>2013-05-14 15:30:15 -0700
committerOssama Othman <ossama.othman@intel.com>2013-05-14 15:30:15 -0700
commit9c403af2ad9845278e082262c215dabf15f4025c (patch)
tree4d6035f89a2179c3d5bf90ccf9a02e572bf26419 /packaging/ico-uxf-weston-plugin.spec
parent644264897dacf42ef4812ccbb797f4872d73e7b3 (diff)
downloadico-uxf-weston-plugin-9c403af2ad9845278e082262c215dabf15f4025c.tar.gz
ico-uxf-weston-plugin-9c403af2ad9845278e082262c215dabf15f4025c.tar.bz2
ico-uxf-weston-plugin-9c403af2ad9845278e082262c215dabf15f4025c.zip
Port to new Weston config parser. Install Weston config in /etc/xdg/weston.
Change-Id: I8fe61e12718392b25a9870e19ac317896a5ddb8d Signed-off-by: Ossama Othman <ossama.othman@intel.com>
Diffstat (limited to 'packaging/ico-uxf-weston-plugin.spec')
-rw-r--r--packaging/ico-uxf-weston-plugin.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/ico-uxf-weston-plugin.spec b/packaging/ico-uxf-weston-plugin.spec
index 44a70e7..4e37e7f 100644
--- a/packaging/ico-uxf-weston-plugin.spec
+++ b/packaging/ico-uxf-weston-plugin.spec
@@ -44,9 +44,9 @@ rm -rf %{buildroot}
%make_install
# configurations
-%define weston_conf /root/.config
+%define weston_conf %{_sysconfdir}/xdg/weston
mkdir -p %{buildroot}%{weston_conf}
-install -m 0644 weston.ini.ico %{buildroot}%{weston_conf}
+install -m 0644 weston.ini.ico %{buildroot}%{weston_conf}/weston.ini
install -m 0644 weston_ivi_plugin.ini %{buildroot}%{weston_conf}
%files
@@ -54,8 +54,8 @@ install -m 0644 weston_ivi_plugin.ini %{buildroot}%{weston_conf}
%dir %{_libdir}/weston/
%{_libdir}/weston/*.so
%{_libdir}/libico-uxf-weston-plugin.so.*
-%{weston_conf}/weston.ini.ico
-%{weston_conf}/weston_ivi_plugin.ini
+%config(noreplace) %{weston_conf}/weston.ini
+%config(noreplace) %{weston_conf}/weston_ivi_plugin.ini
%files devel
%defattr(-,root,root,-)