Alan Pevec
2008-Sep-07 10:57 UTC
[Ovirt-devel] [PATCH ovirt-appliance] use fedora_url for fedora_tree_url
Signed-off-by: Alan Pevec <apevec at redhat.com>
---
ovirt-appliance.spec | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/ovirt-appliance.spec b/ovirt-appliance.spec
index 4b65b57..bbc0e77 100644
--- a/ovirt-appliance.spec
+++ b/ovirt-appliance.spec
@@ -1,5 +1,8 @@
%{!?ovirt_cache_dir: %define ovirt_cache_dir /var/tmp/ovirt-cache}
%{!?ovirt_url: %define ovirt_url http://ovirt.org/repos/ovirt}
+%if %{fedora_url}
+%define fedora_tree_url %{fedora_url}/releases/%{fedora}/Fedora/%{_arch}/os
+%endif
%{!?fedora_tree_url: %define fedora_tree_url
http://download.fedoraproject.org/pub/fedora/linux/releases/%{fedora}/Fedora/%{_arch}/os}
%define fedora_mirror http://mirrors.fedoraproject.org/mirrorlist
--
1.5.5.1
Perry N. Myers
2008-Sep-08 12:31 UTC
[Ovirt-devel] [PATCH ovirt-appliance] use fedora_url for fedora_tree_url
Alan Pevec wrote:> Signed-off-by: Alan Pevec <apevec at redhat.com> > --- > ovirt-appliance.spec | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/ovirt-appliance.spec b/ovirt-appliance.spec > index 4b65b57..bbc0e77 100644 > --- a/ovirt-appliance.spec > +++ b/ovirt-appliance.spec > @@ -1,5 +1,8 @@ > %{!?ovirt_cache_dir: %define ovirt_cache_dir /var/tmp/ovirt-cache} > %{!?ovirt_url: %define ovirt_url http://ovirt.org/repos/ovirt} > +%if %{fedora_url} > +%define fedora_tree_url %{fedora_url}/releases/%{fedora}/Fedora/%{_arch}/os > +%endif > %{!?fedora_tree_url: %define fedora_tree_url http://download.fedoraproject.org/pub/fedora/linux/releases/%{fedora}/Fedora/%{_arch}/os} > %define fedora_mirror http://mirrors.fedoraproject.org/mirrorlist >This is fine, but shouldn't this patch be done in conjunction with removing references to FEDORA_TREE_URL in the Makefiles? Perry -- |=- Red Hat, Engineering, Emerging Technologies, Boston -=| |=- Email: pmyers at redhat.com -=| |=- Office: +1 412 474 3552 Mobile: +1 703 362 9622 -=| |=- GnuPG: E65E4F3D 88F9 F1C9 C2F3 1303 01FE 817C C5D2 8B91 E65E 4F3D -=|