summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2015-08-01 15:37:02 +0000
committertv <tv@971eb68f-4bfb-0310-8326-d2484c010a4c>2015-08-01 15:37:02 +0000
commit0f051b6b1c4657737dbe6a2ea9917ab8f2311bec (patch)
tree934a372c89b70f37c18ec6e091ea9be79f07024f
parente83c02e88c9ca00710c16711f790998986ccff1f (diff)
downloadperl-RPM4-0f051b6b1c4657737dbe6a2ea9917ab8f2311bec.tar
perl-RPM4-0f051b6b1c4657737dbe6a2ea9917ab8f2311bec.tar.gz
perl-RPM4-0f051b6b1c4657737dbe6a2ea9917ab8f2311bec.tar.bz2
perl-RPM4-0f051b6b1c4657737dbe6a2ea9917ab8f2311bec.tar.xz
perl-RPM4-0f051b6b1c4657737dbe6a2ea9917ab8f2311bec.zip
drop methods only supported in rpm < 4.9
git-svn-id: svn+ssh://haiku.zarb.org/home/projects/rpm4/svn/trunk@257 971eb68f-4bfb-0310-8326-d2484c010a4c
-rw-r--r--RPM4/NEWS1
-rw-r--r--RPM4/src/RPM4.xs50
2 files changed, 1 insertions, 50 deletions
diff --git a/RPM4/NEWS b/RPM4/NEWS
index 17f029f..2ec6794 100644
--- a/RPM4/NEWS
+++ b/RPM4/NEWS
@@ -1,3 +1,4 @@
+- drop methods only supported in rpm < 4.9
- drop support for rpm > 4.9.0
- fix compiling with rpm-4.13
diff --git a/RPM4/src/RPM4.xs b/RPM4/src/RPM4.xs
index 9bfae55..86d1228 100644
--- a/RPM4/src/RPM4.xs
+++ b/RPM4/src/RPM4.xs
@@ -1453,34 +1453,6 @@ Ts_transflag(ts, sv_transflag = NULL)
RETVAL
int
-Ts_injectheader(db, header)
- rpmts db
- Header header
- PREINIT:
- CODE:
- croak("injectheader>rpmdbAdd exists only in rpm < 4.9; unused anyway");
- OUTPUT:
- RETVAL
-
-int
-Ts_deleteheader(db, sv_offset)
- rpmts db
- SV * sv_offset
- PREINIT:
- rpmdb rdb;
- unsigned int offset = 0;
- CODE:
- offset = SvUV(sv_offset);
- rdb = rpmtsGetRdb(db);
- if (offset) {
- croak("deleteheader exists only in rpm < 4.9; unused anyway");
- RETVAL = 0;
- } else
- RETVAL = 1;
- OUTPUT:
- RETVAL
-
-int
Ts_traverse(ts, callback = NULL, sv_tagname = NULL, sv_tagvalue = NULL, keylen = 0, sv_exclude = NULL)
rpmts ts
SV * callback
@@ -2660,14 +2632,6 @@ Spec_build(spec, sv_buildflags)
OUTPUT:
RETVAL
-const char *
-Spec_specfile(spec)
- rpmSpec spec
- CODE:
- croak("specfile exists only in rpm < 4.9; unused anyway");
- OUTPUT:
- RETVAL
-
void
Spec_sources(spec, is = 0)
rpmSpec spec
@@ -2696,20 +2660,6 @@ Spec_sources_url(spec, is = 0)
mXPUSHs(newSVpv(rpmSpecSrcFilename(srcPtr, 1), 0));
}
-void
-Spec_icon(spec)
- rpmSpec spec
- PREINIT:
- PPCODE:
- croak("icon exists only in rpm < 4.9; unused anyway");
-
-void
-Spec_icon_url(spec)
- rpmSpec spec
- PREINIT:
- PPCODE:
- croak("icon_url exists only in rpm < 4.9; unused anyway; unused anyway");
-
MODULE = RPM4 PACKAGE = RPM4::Db::_Problems PREFIX = ps_
void