From: Ed Bartosh Date: Fri, 31 Oct 2014 10:29:20 +0000 (+0200) Subject: Include all .repo files into the package X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0.m14.3_ivi;p=profile%2Fivi%2Fivi-repos.git Include all .repo files into the package Modified spec to include all .repo files present in source tree into the package. Change-Id: Ie4c6ba220f39b70ae25a152da62c0c3740e21a04 Signed-off-by: Ed Bartosh --- diff --git a/packaging/ivi-repos.spec b/packaging/ivi-repos.spec index ce5c1c2..545b70b 100644 --- a/packaging/ivi-repos.spec +++ b/packaging/ivi-repos.spec @@ -22,20 +22,10 @@ This package installs the .repo files for Tizen IVI images rm -rf %{buildroot} install -d %{buildroot}/etc/zypp/repos.d %if %{with emulator} -install -m 0644 ivi-emul-snapshot.repo %{buildroot}/etc/zypp/repos.d -install -m 0644 ivi-emul-daily.repo %{buildroot}/etc/zypp/repos.d -%else -install -m 0644 ivi-snapshot.repo %{buildroot}/etc/zypp/repos.d -install -m 0644 ivi-daily.repo %{buildroot}/etc/zypp/repos.d +type='emul-' %endif +install -m 0644 ivi-$type*.repo %{buildroot}/etc/zypp/repos.d %files %defattr(-,root,root,-) -%if %{with emulator} -%config /etc/zypp/repos.d/ivi-emul-snapshot.repo -%config /etc/zypp/repos.d/ivi-emul-daily.repo -%else -%config /etc/zypp/repos.d/ivi-snapshot.repo -%config /etc/zypp/repos.d/ivi-daily.repo -%endif - +%config /etc/zypp/repos.d/*.repo