diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-07-18 18:09:10 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2008-07-18 18:09:10 +0000 |
commit | 27e2670865af8bee67d6ffca83195981b2f3d8b0 (patch) | |
tree | ae490ef7817cecb81f22726cd9cdfecbf60972c9 | |
parent | 71c0723efa51d9e0e779f70e3ee7ce90d1dc2f4a (diff) | |
download | perl-URPM-27e2670865af8bee67d6ffca83195981b2f3d8b0.tar perl-URPM-27e2670865af8bee67d6ffca83195981b2f3d8b0.tar.gz perl-URPM-27e2670865af8bee67d6ffca83195981b2f3d8b0.tar.bz2 perl-URPM-27e2670865af8bee67d6ffca83195981b2f3d8b0.tar.xz perl-URPM-27e2670865af8bee67d6ffca83195981b2f3d8b0.zip |
add filelinktos() & dirnames() to URPM::Package
-rw-r--r-- | URPM.pm | 4 | ||||
-rw-r--r-- | URPM.xs | 16 |
2 files changed, 20 insertions, 0 deletions
@@ -509,6 +509,8 @@ Writes a line of information in a synthesis file. =item $package->description() +=item $package->dirnames() + =item $package->distribution() =item $package->epoch() @@ -517,6 +519,8 @@ Writes a line of information in a synthesis file. =item $package->exclusivearchs() +=item $package->filelinktos() + =item $package->files() List of files in this rpm. @@ -2271,6 +2271,22 @@ Pkg_exclusivearchs(pkg) SPAGAIN; void +Pkg_dirnames(pkg) + URPM::Package pkg + PPCODE: + PUTBACK; + xpush_simple_list_str(pkg->h, RPMTAG_DIRNAMES); + SPAGAIN; + +void +Pkg_filelinktos(pkg) + URPM::Package pkg + PPCODE: + PUTBACK; + xpush_simple_list_str(pkg->h, RPMTAG_FILELINKTOS); + SPAGAIN; + +void Pkg_files(pkg) URPM::Package pkg PPCODE: |