Subject: | Out-dated Fedora repository URL in live test |
Live network tests do not pass because Fedora repositories do no reside
on kernel.org anymore. Attached patch fixes it.
Subject: | perl-YUM-RepoQuery-0.1.2-Update-Fedora-repository-URL-in-test.patch |
From b1918cf648fd51a4f592f07b1811d5bb3f984feb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Tue, 28 Jun 2011 17:22:36 +0200
Subject: [PATCH 1/2] Update Fedora repository URL in test
---
t/02.live.t | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/t/02.live.t b/t/02.live.t
index 201e089..81abaf4 100644
--- a/t/02.live.t
+++ b/t/02.live.t
@@ -9,7 +9,8 @@ use YUM::RepoQuery;
my $repo = YUM::RepoQuery->new(
id => 'F-9',
- uri => 'http://mirrors.kernel.org/fedora/updates/9/SRPMS.newkey/',
+ uri => 'http://archives.fedoraproject.org/pub/archive/' .
+ 'fedora/linux/updates/9/SRPMS.newkey/',
);
isa_ok($repo, 'YUM::RepoQuery');
--
1.7.5.4