From: Geoffroy Van Cutsem Date: Tue, 27 Nov 2012 09:08:33 +0000 (+0100) Subject: Update spec file to use macro instead of hardcoded path X-Git-Tag: submit/2.0alpha/20121127.215808^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4eeb12a7eb186dea4ee1db2761ef9124dc9271b3;p=profile%2Fivi%2Fivi-repos-auto.git Update spec file to use macro instead of hardcoded path Update to use standard group Signed-off-by: Geoffroy Van Cutsem Change-Id: I4103fd33761c5a7264729632c15c0c83c982ce21 --- diff --git a/packaging/ivi-repos-auto.changes b/packaging/ivi-repos-auto.changes index a64035a..24f9758 100644 --- a/packaging/ivi-repos-auto.changes +++ b/packaging/ivi-repos-auto.changes @@ -1,3 +1,7 @@ +* Tue Nov 27 2012 Geoffroy Van Cutsem +- Update spec file to use macro instead of hardcoded path +- Update to use standard group + * Tue Oct 30 00:12:10 UTC 2012 - tracy.graydon@intel.com - TDIST-103: fixed the repo urls that I broke the last time I fixed them. :| diff --git a/packaging/ivi-repos-auto.spec b/packaging/ivi-repos-auto.spec index ae1e714..5f01c6f 100644 --- a/packaging/ivi-repos-auto.spec +++ b/packaging/ivi-repos-auto.spec @@ -2,7 +2,7 @@ Name: ivi-repos-auto Summary: Tizen IVI Repos Auto Version: 2 Release: 1 -Group: System/Libraries +Group: System Environment/Libraries License: LGPLv2.1 URL: http://www.tizen.org Source0: %{name}-%{version}.tar.bz2 @@ -17,13 +17,13 @@ This package installs the .repo files for Tizen IVI automotive images %install rm -rf %{buildroot} -install -d %{buildroot}/etc/zypp/repos.d -install -m 0755 tizen-base.repo %{buildroot}/etc/zypp/repos.d -install -m 0755 tizen-ivi.repo %{buildroot}/etc/zypp/repos.d -install -m 0755 tizen-non-oss.repo %{buildroot}/etc/zypp/repos.d +install -d %{buildroot}%{_sysconfdir}/zypp/repos.d +install -m 0755 tizen-base.repo %{buildroot}%{_sysconfdir}/zypp/repos.d +install -m 0755 tizen-ivi.repo %{buildroot}%{_sysconfdir}/zypp/repos.d +install -m 0755 tizen-non-oss.repo %{buildroot}%{_sysconfdir}/zypp/repos.d %post %files %defattr(-,root,root,-) -/etc/zypp/repos.d/* +%{_sysconfdir}/zypp/repos.d/*