summaryrefslogtreecommitdiffstats
path: root/RPM4/src/RPM4.xs
diff options
context:
space:
mode:
Diffstat (limited to 'RPM4/src/RPM4.xs')
-rw-r--r--RPM4/src/RPM4.xs10
1 files changed, 2 insertions, 8 deletions
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 5e20da6..2a1f78b 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -1219,7 +1219,7 @@ Header_fullname(h)
name,
version,
release,
- headerIsEntry(h, RPMTAG_SOURCERPM) ? arch : "src"
+ arch
));
}
} else if (gimme == G_ARRAY) {
@@ -1227,13 +1227,7 @@ Header_fullname(h)
mPUSHs(newSVpv(name, 0));
mPUSHs(newSVpv(version, 0));
mPUSHs(newSVpv(release, 0));
- if (ix != 1) {
- if (!headerIsEntry(h, RPMTAG_SOURCERPM)) {
- mPUSHs(newSVpv("src", 0));
- } else {
- mPUSHs(newSVpv(arch, 0));
- }
- }
+ mPUSHs(newSVpv(arch, 0));
}
}