aboutsummaryrefslogtreecommitdiffstats
path: root/URPM.xs
diff options
context:
space:
mode:
Diffstat (limited to 'URPM.xs')
-rw-r--r--URPM.xs24
1 files changed, 8 insertions, 16 deletions
diff --git a/URPM.xs b/URPM.xs
index 6b56f66..b3b83e0 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1550,22 +1550,14 @@ Pkg_sourcerpm(pkg)
if (pkg->h) {
rpmTag tag;
switch (ix) {
- case 1:
- tag = RPMTAG_BUILDHOST; break;
- case 2:
- tag = RPMTAG_URL; break;
- case 3:
- tag = RPMTAG_LICENSE; break;
- case 4:
- tag = RPMTAG_DISTRIBUTION; break;
- case 5:
- tag = RPMTAG_VENDOR; break;
- case 6:
- tag = RPMTAG_OS; break;
- case 7:
- tag = RPMTAG_PAYLOADFORMAT; break;
- default:
- tag = RPMTAG_SOURCERPM; break;
+ case 1: tag = RPMTAG_BUILDHOST; break;
+ case 2: tag = RPMTAG_URL; break;
+ case 3: tag = RPMTAG_LICENSE; break;
+ case 4: tag = RPMTAG_DISTRIBUTION; break;
+ case 5: tag = RPMTAG_VENDOR; break;
+ case 6: tag = RPMTAG_OS; break;
+ case 7: tag = RPMTAG_PAYLOADFORMAT; break;
+ default: tag = RPMTAG_SOURCERPM; break;
}
mXPUSHs(newSVpv(get_name(pkg->h, tag), 0));
}