summaryrefslogtreecommitdiffstats
path: root/RPM4/src
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4/src')
-rw-r--r--RPM4/src/RPM4.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 2d377ee..43b9368 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -2764,7 +2764,7 @@ Spec_binheader(spec)
PPCODE:
#ifdef RPM4_9_0
rpmSpecPkgIter iter = rpmSpecPkgIterInit(spec);
- while ((pkg = rpmSpecSrcIterNext(iter)) != NULL)
+ while ((pkg = rpmSpecPkgIterNext(iter)) != NULL)
XPUSHs(sv_2mortal(sv_setref_pv(newSVpv("", 0), bless_header, (void *)headerLink(rpmSpecPkgHeader(pkg)))));
#else
for (pkg = spec->packages; pkg != NULL; pkg = pkg->next)
@@ -2806,7 +2806,7 @@ Spec_binrpm(spec)
PPCODE:
#ifdef RPM4_9_0
rpmSpecPkgIter iter = rpmSpecPkgIterInit(spec);
- while ((pkg = rpmSpecSrcIterNext(iter)) != NULL) {
+ while ((pkg = rpmSpecPkgIterNext(iter)) != NULL) {
#else
for(pkg = spec->packages; pkg != NULL; pkg = pkg->next) {
if (pkg->fileList == NULL)