Patchwork distro_check: fix the fedora URL for rleases as they seem to have moved

login
register
mail settings
Submitter Saul Wold
Date Feb. 24, 2012, 11:03 p.m.
Message ID <1330124602-8252-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/22003/
State Accepted
Commit eb2d70e02d299ab651aebda49d2006aef16b4ae0
Headers show

Comments

Saul Wold - Feb. 24, 2012, 11:03 p.m.
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/lib/oe/distro_check.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/lib/oe/distro_check.py b/meta/lib/oe/distro_check.py
index 630e88d..cc836de 100644
--- a/meta/lib/oe/distro_check.py
+++ b/meta/lib/oe/distro_check.py
@@ -99,12 +99,12 @@  def get_source_package_list_from_url(url, section):
 
 def get_latest_released_fedora_source_package_list():
     "Returns list of all the name os packages in the latest fedora distro"
-    latest = find_latest_numeric_release("http://download.fedora.redhat.com/pub/fedora/linux/releases/")
+    latest = find_latest_numeric_release("http://archive.fedoraproject.org/pub/fedora/linux/releases/")
 
-    package_names = get_source_package_list_from_url("http://download.fedora.redhat.com/pub/fedora/linux/releases/%s/Fedora/source/SRPMS/" % latest, "main")
+    package_names = get_source_package_list_from_url("http://archive.fedoraproject.org/pub/fedora/linux/releases/%s/Fedora/source/SRPMS/" % latest, "main")
 
 #    package_names += get_source_package_list_from_url("http://download.fedora.redhat.com/pub/fedora/linux/releases/%s/Everything/source/SPRMS/" % latest, "everything")
-    package_names += get_source_package_list_from_url("http://download.fedora.redhat.com/pub/fedora/linux/updates/%s/SRPMS/" % latest, "updates")
+    package_names += get_source_package_list_from_url("http://archive.fedoraproject.org/pub/fedora/linux/updates/%s/SRPMS/" % latest, "updates")
 
     package_list=clean_package_list(package_names)