From fa8a35fe443a53497af3f92030038424ac20f1b0 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 25 Jun 2012 18:27:32 +0000 Subject: (rpmsysinfodep,rpmgetconfdep,rpmcpuinfodep,rpmpipedep,rpmunamedep) drop as rpm5 only (aka unimplemented for 4 years...) git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@220 971eb68f-4bfb-0310-8326-d2484c010a4c --- RPM4/NEWS | 2 ++ RPM4/lib/RPM4.pm | 34 ---------------------------------- RPM4/src/RPM4.xs | 34 ---------------------------------- 3 files changed, 2 insertions(+), 68 deletions(-) diff --git a/RPM4/NEWS b/RPM4/NEWS index 4a093c7..ae80851 100644 --- a/RPM4/NEWS +++ b/RPM4/NEWS @@ -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, 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 -- cgit v1.2.1