Removed all the #if/#endif blocks that were for distinguishing 3.0 and 4.0 rpm
authorrjray <devnull@localhost>
Thu, 11 Apr 2002 22:40:20 +0000 (22:40 +0000)
committerrjray <devnull@localhost>
Thu, 11 Apr 2002 22:40:20 +0000 (22:40 +0000)
lineage. rpm 3.0 is no longer going to be supported.

CVS patchset: 5393
CVS date: 2002/04/11 22:40:20

Perl-RPM/RPM/Constants.xs

index b0d53d3..2faedc1 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "RPM.h"
 
-static char * const rcsid = "$Id: Constants.xs,v 1.11 2001/05/15 07:49:56 rjray Exp $";
+static char * const rcsid = "$Id: Constants.xs,v 1.12 2002/04/11 22:40:20 rjray Exp $";
 
 static int constant(pTHX_ char *name)
 {
@@ -200,11 +200,7 @@ static int constant(pTHX_ char *name)
                 break;
               case 'R':
                 if (strEQ(name + 7, "READ") || strEQ(name + 7, "READERROR"))
-#                 if (RPM_VERSION >= 0x040002)
                     return RPMERR_READ;
-#                 else
-                    return RPMERR_READERROR;
-#                 endif
                 if (strEQ(name + 7, "RENAME"))
                     return RPMERR_RENAME;
                 if (strEQ(name + 7, "RMDIR"))