aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--URPM.pm6
-rw-r--r--URPM.xs9
3 files changed, 11 insertions, 6 deletions
diff --git a/NEWS b/NEWS
index 8a518a1..ae4be1a 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
Version 4.3 -
-
+- URPM::Package::files_md5sum() has been renamed to URPM::Package::files_digest()
- fix NEVRA parsing of 'gpg-pubkey'
Version 4.2 - 3 Dec 2010, by Per Øyvind Karlsen
diff --git a/URPM.pm b/URPM.pm
index c5193c5..2dcf582 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -11,7 +11,7 @@ use URPM::Resolve;
use URPM::Signature;
our @ISA = qw(DynaLoader);
-our $VERSION = '4.2';
+our $VERSION = '4.3';
URPM->bootstrap($VERSION);
@@ -530,14 +530,14 @@ Writes a line of information in a synthesis file.
List of files in this rpm.
+=item $package->files_digest()
+
=item $package->files_flags()
=item $package->files_gid()
=item $package->files_group()
-=item $package->files_md5sum()
-
=item $package->files_mode()
=item $package->files_mtime()
diff --git a/URPM.xs b/URPM.xs
index 32cbefd..dae51d7 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2185,14 +2185,19 @@ Pkg_files(pkg)
SPAGAIN;
void
-Pkg_files_md5sum(pkg)
+Pkg_files_digest(pkg)
URPM::Package pkg
PPCODE:
PUTBACK;
- xpush_simple_list_str(pkg->h, RPMTAG_FILEMD5S);
+ xpush_simple_list_str(pkg->h, RPMTAG_FILEDIGESTS);
SPAGAIN;
void
+Pkg_files_md5sum(pkg)
+ PPCODE:
+ croak("files_md5sum() is dead. use files_digest() instead");
+
+void
Pkg_files_owner(pkg)
URPM::Package pkg
PPCODE: