diff options
-rw-r--r-- | RPM4/NEWS | 2 | ||||
-rw-r--r-- | RPM4/lib/RPM4.pm | 34 | ||||
-rw-r--r-- | RPM4/src/RPM4.xs | 34 |
3 files changed, 2 insertions, 68 deletions
@@ -1,3 +1,5 @@ +- drop rpm5 functions: rpmsysinfodep, rpmgetconfdep, rpmcpuinfodep, rpmpipedep + & rpmunamedep (unimplemented for 4 years...) - new spec: o fix forcing 'noarch_check' & 'force' parameters o drop unused 'cookie', 'passphrase', 'rootdir' & 'verify' parameters (useless with rpm-4.9.x anyway) diff --git a/RPM4/lib/RPM4.pm b/RPM4/lib/RPM4.pm index e0b4de9..0dc5cb8 100644 --- a/RPM4/lib/RPM4.pm +++ b/RPM4/lib/RPM4.pm @@ -420,40 +420,6 @@ Returns 0 on success. Create a RPM4::Header::Dependencies object about rpmlib internals provides -=head2 rpmsysinfodep($file) - -Return a RPM4::Header::Dependencies object about sysinfo file, -$file is an optionnal file to, default depend of rpm. - -Since rpm 4.3.3, return undef on older version - -=head2 rpmgetconfdep($path) - -Return a RPM4::Header::Dependencies object about getconf, -$path is an optionnal path to use, default is /. - -Since rpm 4.3.3, return undef on older version - -=head2 rpmcpuinfodep($file) - -Return a RPM4::Header::Dependencies object about cpuinfo, -$file is an optionnal file to use, default is /proc/cpuinfo. - -Since rpm 4.3.3, return undef on older version - -=head2 rpmunamedep - -Return a RPM4::Header::Dependencies object from uname(). - -Since rpm 4.3.3, return undef on older version - -=head2 rpmpipedep($cmd) - -Return a RPM4::Header::Dependencies from a command using. -(It use a pipe internally). $cmd is the command to use. - -Since rpm 4.3.3, return undef on older version - =head1 SEE ALSO L<rpm(8)>, diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs index e271803..ca7b902 100644 --- a/RPM4/src/RPM4.xs +++ b/RPM4/src/RPM4.xs @@ -2082,40 +2082,6 @@ rpmlibdep() mXPUSHs(sv_setref_pv(newSVpvs(""), bless_rpmds, Dep)); #endif -void -rpmsysinfodep(sysinfofile = NULL) - char * sysinfofile - PREINIT: - PPCODE: - croak("rpmsysinfodep exists only in rpm5; unused anyway"); - -void -rpmgetconfdep(path = NULL) - char * path - PREINIT: - PPCODE: - croak("rpmgetconfdep exists only in rpm5; unused anyway"); - -void -rpmcpuinfodep(path = NULL) - char * path - PREINIT: - PPCODE: - croak("rpmcpuinfodep exists only in rpm5; unused anyway"); - -void -rpmunamedep() - PREINIT: - PPCODE: - croak("rpmunamedep exists only in rpm5; unused anyway"); - -void -rpmpipedep(cmd, tag = 0) - char * cmd - int tag - PREINIT: - PPCODE: - MODULE = RPM4 PACKAGE = RPM4::Header::Dependencies PREFIX = Dep_ void |