1) don't export rpmEnsureOlder()
authorewt <devnull@localhost>
Wed, 15 Jan 1997 16:26:57 +0000 (16:26 +0000)
committerewt <devnull@localhost>
Wed, 15 Jan 1997 16:26:57 +0000 (16:26 +0000)
2) added rpmVersionCompare()

CVS patchset: 1278
CVS date: 1997/01/15 16:26:57

lib/rpmlib.h

index b6d3676..5abad67 100644 (file)
@@ -231,8 +231,7 @@ int rpmInstallSourcePackage(char * prefix, int fd, char ** specFile,
 int rpmInstallPackage(char * rootdir, rpmdb db, int fd, char * prefix, 
                      int flags, rpmNotifyFunction notify, char * labelFormat,
                      char * netsharedPath);
-int rpmEnsureOlder(rpmdb db, char * name, char * newVersion, 
-               char * newRelease, int dbOffset);
+int rpmVersionCompare(Header first, Header second);
 int rpmRemovePackage(char * prefix, rpmdb db, unsigned int offset, int test);
 int rpmVerifyFile(char * prefix, Header h, int filenum, int * result);
 int rpmVerifyScript(char * root, Header h, int err);