aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-31 10:05:16 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2011-05-31 10:05:16 +0000
commit8931bb4be8b75ce7258a2311ce8a607ec47c951e (patch)
tree29c19d34c288de68ffc49b5a81eb0d184088b741
parent7bd91c6bc00056d445becf0fbe1e25063518adaf (diff)
downloadperl-URPM-8931bb4be8b75ce7258a2311ce8a607ec47c951e.tar
perl-URPM-8931bb4be8b75ce7258a2311ce8a607ec47c951e.tar.gz
perl-URPM-8931bb4be8b75ce7258a2311ce8a607ec47c951e.tar.bz2
perl-URPM-8931bb4be8b75ce7258a2311ce8a607ec47c951e.tar.xz
perl-URPM-8931bb4be8b75ce7258a2311ce8a607ec47c951e.zip
fix URPM::Package->sourcerpm returning summary in stead of source rpm
-rw-r--r--NEWS3
-rw-r--r--URPM.xs2
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 2df9cea..f37375e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
-Version 4.31 - 27 May 2011, by Per Øyvind Karlsen
+Version 4.31 - 31 May 2011, by Per Øyvind Karlsen
+- fix URPM::Package->sourcerpm returning summary in stead of source rpm
- fix slow matching of individual regexes for skipping dependencies by creating
a large regex to match them all at once (#61389, patch contributed by
Shlomi Fish \o/)
diff --git a/URPM.xs b/URPM.xs
index 7c32fa9..397fe9e 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2154,7 +2154,7 @@ Pkg_sourcerpm(pkg)
URPM::Package pkg
PPCODE:
if (pkg->h)
- push_name(pkg, RPMTAG_DESCRIPTION);
+ push_name(pkg, RPMTAG_SUMMARY);
void
Pkg_packager(pkg)