diff options
author | Pascal Terjan <pterjan@gmail.com> | 2016-02-29 17:01:04 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2016-02-29 17:01:55 +0000 |
commit | 69d785fc6d7147c29ff261b7674d70b62fe9fd55 (patch) | |
tree | 0fd07e2ab32aeb31d43f36fef2d3083c494bfa32 /lib | |
parent | 12509c9882a9e804327ca6b060773fe270a3cf48 (diff) | |
download | mgaadvisories-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.pm | 1 |
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"; |