From ff3d073cdf289f179791218bd2b660c82bebf815 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Wed, 27 Jun 2001 13:54:50 +0000 Subject: added support for epoch (serial). --- perl-install/c/stuff.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/c/stuff.pm') diff --git a/perl-install/c/stuff.pm b/perl-install/c/stuff.pm index 0121f2904..b6cbd6128 100644 --- a/perl-install/c/stuff.pm +++ b/perl-install/c/stuff.pm @@ -19,6 +19,7 @@ sub headerGetEntry { $q eq 'group' and return from_utf8(headerGetEntry_string($h, RPMTAG_GROUP())); $q eq 'version' and return headerGetEntry_string($h, RPMTAG_VERSION()); $q eq 'release' and return headerGetEntry_string($h, RPMTAG_RELEASE()); + $q eq 'epoch' and return headerGetEntry_int($h, RPMTAG_EPOCH()); $q eq 'summary' and return from_utf8(headerGetEntry_string($h, RPMTAG_SUMMARY())); $q eq 'description' and return from_utf8(headerGetEntry_string($h, RPMTAG_DESCRIPTION())); $q eq 'arch' and return headerGetEntry_string($h, RPMTAG_ARCH()); -- cgit v1.2.1