From 69d785fc6d7147c29ff261b7674d70b62fe9fd55 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Mon, 29 Feb 2016 17:01:04 +0000 Subject: Add URL to descriptions --- lib/MGA/Advisories.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/MGA') diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm index 6d444b0..5b88578 100644 --- a/lib/MGA/Advisories.pm +++ b/lib/MGA/Advisories.pm @@ -519,6 +519,7 @@ sub move_packages { sub generate_description { my ($adv, $rpm) = @_; my $desc = "%package $rpm\n"; + $desc .= "URL: http://advisories.mageia.org/" . %$adv{ID} . ".html\n"; $desc .= "Importance: " . %$adv{type} ."\n"; $desc .= "ID: " . %$adv{ID} . "\n"; $desc .= "%pre\n"; -- cgit v1.2.1