aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-12-02 14:52:11 +0000
committerThierry Vignaud <tv@mageia.org>2012-12-02 14:52:11 +0000
commit452a3869137c6f7a2257c1c0075cbf5c5dbf9880 (patch)
tree32cf09afca1c621e61af9bd3f3ce0c119d37c66a
parent04ce1240816e7b6a6a7c4cd65949e26baa5faab2 (diff)
downloadperl-URPM-452a3869137c6f7a2257c1c0075cbf5c5dbf9880.tar
perl-URPM-452a3869137c6f7a2257c1c0075cbf5c5dbf9880.tar.gz
perl-URPM-452a3869137c6f7a2257c1c0075cbf5c5dbf9880.tar.bz2
perl-URPM-452a3869137c6f7a2257c1c0075cbf5c5dbf9880.tar.xz
perl-URPM-452a3869137c6f7a2257c1c0075cbf5c5dbf9880.zip
drop ->disttag (unused, was introduced by pok just before the fork)
-rw-r--r--NEWS1
-rw-r--r--URPM.xs3
2 files changed, 1 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 69fe5eb..e976fba 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- kill pkg->disttag (unused, introduced for rpm5 prior to the fork)
- reduce code size
Version 4.18 - 21 November 2012
diff --git a/URPM.xs b/URPM.xs
index 93d0a0f..2c4d1a2 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1516,7 +1516,6 @@ Pkg_description(pkg)
vendor = 7
os = 8
payload_format = 9
- disttag = 10
PPCODE:
if (pkg->h)
switch (ix) {
@@ -1540,8 +1539,6 @@ Pkg_description(pkg)
mXPUSHs(newSVpv(get_name(pkg->h, RPMTAG_OS), 0)); break;
case 9:
mXPUSHs(newSVpv(get_name(pkg->h, RPMTAG_PAYLOADFORMAT), 0)); break;
- case 10:
- mXPUSHs(newSVpv(get_name(pkg->h, RPMTAG_DISTTAG), 0)); break;
}
int