aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-01 13:57:19 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-12-01 13:57:19 +0000
commit25870aead1114766dde5a17a7956f279fb7d8a9d (patch)
tree1fba811e710fb10098f8c3cd55c04e47978d5f05
parentcc3059a66300846237aba986130eff744cf1f62f (diff)
downloadperl-URPM-25870aead1114766dde5a17a7956f279fb7d8a9d.tar
perl-URPM-25870aead1114766dde5a17a7956f279fb7d8a9d.tar.gz
perl-URPM-25870aead1114766dde5a17a7956f279fb7d8a9d.tar.bz2
perl-URPM-25870aead1114766dde5a17a7956f279fb7d8a9d.tar.xz
perl-URPM-25870aead1114766dde5a17a7956f279fb7d8a9d.zip
RPMTAG_SERIAL (old name of RPMTAG_EPOCH) has been removed in rpm 4.4.3
-rw-r--r--URPM.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/URPM.xs b/URPM.xs
index d28f757..720fb32 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -1618,7 +1618,7 @@ Pkg_epoch(pkg)
RETVAL = 0;
}
} else if (pkg->h) {
- RETVAL = get_int(pkg->h, RPMTAG_SERIAL);
+ RETVAL = get_int(pkg->h, RPMTAG_EPOCH);
} else RETVAL = 0;
OUTPUT:
RETVAL