aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@gmail.com>2016-02-29 17:01:04 +0000
committerPascal Terjan <pterjan@gmail.com>2016-02-29 17:01:55 +0000
commit69d785fc6d7147c29ff261b7674d70b62fe9fd55 (patch)
tree0fd07e2ab32aeb31d43f36fef2d3083c494bfa32 /lib
parent12509c9882a9e804327ca6b060773fe270a3cf48 (diff)
downloadmgaadvisories-69d785fc6d7147c29ff261b7674d70b62fe9fd55.tar
mgaadvisories-69d785fc6d7147c29ff261b7674d70b62fe9fd55.tar.gz
mgaadvisories-69d785fc6d7147c29ff261b7674d70b62fe9fd55.tar.bz2
mgaadvisories-69d785fc6d7147c29ff261b7674d70b62fe9fd55.tar.xz
mgaadvisories-69d785fc6d7147c29ff261b7674d70b62fe9fd55.zip
Add URL to descriptions
Diffstat (limited to 'lib')
-rw-r--r--lib/MGA/Advisories.pm1
1 files changed, 1 insertions, 0 deletions
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";