diff options
author | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-06-25 18:27:32 +0000 |
---|---|---|
committer | tv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c> | 2012-06-25 18:27:32 +0000 |
commit | fa8a35fe443a53497af3f92030038424ac20f1b0 (patch) | |
tree | 7cf40ed16526517d0f1434d57887f10fefdc11cd /RPM4 | |
parent | 695e8a4dfa52da6b5263fb52ec2d54ba20022de6 (diff) | |
download | perl-RPM4-fa8a35fe443a53497af3f92030038424ac20f1b0.tar perl-RPM4-fa8a35fe443a53497af3f92030038424ac20f1b0.tar.gz perl-RPM4-fa8a35fe443a53497af3f92030038424ac20f1b0.tar.bz2 perl-RPM4-fa8a35fe443a53497af3f92030038424ac20f1b0.tar.xz perl-RPM4-fa8a35fe443a53497af3f92030038424ac20f1b0.zip |
(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
Diffstat (limited to 'RPM4')
-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 |