diff options
author | Francois Pons <fpons@mandriva.com> | 2001-07-25 14:59:35 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-07-25 14:59:35 +0000 |
commit | 5070f3f86e1897c43fb47007d9aebd55c68f5c9e (patch) | |
tree | 702f309c30991bd8fa91f17edae627f7258cd6b0 /rpmtools.xs | |
parent | c019f7e04986a404b6a556624d06585f5b3fe744 (diff) | |
download | rpmtools-5070f3f86e1897c43fb47007d9aebd55c68f5c9e.tar rpmtools-5070f3f86e1897c43fb47007d9aebd55c68f5c9e.tar.gz rpmtools-5070f3f86e1897c43fb47007d9aebd55c68f5c9e.tar.bz2 rpmtools-5070f3f86e1897c43fb47007d9aebd55c68f5c9e.tar.xz rpmtools-5070f3f86e1897c43fb47007d9aebd55c68f5c9e.zip |
use rpmlib version comparison function, force destiny.3.1.2
Diffstat (limited to 'rpmtools.xs')
-rw-r--r-- | rpmtools.xs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/rpmtools.xs b/rpmtools.xs index d96af31..89237b2 100644 --- a/rpmtools.xs +++ b/rpmtools.xs @@ -32,6 +32,9 @@ #define HDFLAGS_SOURCERPM 0x04000000 +/* duplicate definition for rpmvercmp (not needed on 4.0.3 but needed on 4.0) */ +int rpmvercmp(const char *a, const char *b); + char *get_name(Header header, int_32 tag) { int_32 type, count; char *name; @@ -309,6 +312,11 @@ void callback_empty(void) {} MODULE = rpmtools PACKAGE = rpmtools +int +rpmvercmp(a,b) + char *a + char *b + char * arch() CODE: |