remove DOCDIR
authormarc <devnull@localhost>
Sun, 14 Jul 1996 23:31:36 +0000 (23:31 +0000)
committermarc <devnull@localhost>
Sun, 14 Jul 1996 23:31:36 +0000 (23:31 +0000)
CVS patchset: 828
CVS date: 1996/07/14 23:31:36

build/files.c

index 215ad6e..095ce1a 100644 (file)
@@ -161,8 +161,7 @@ int process_filelist(Header header, struct PackageRec *pr,
                          "Can't mix special %%doc with other forms: %s", fp);
                    return(RPMERR_BADSPEC);
                }
-               sprintf(buf, "%s/%s-%s-%s", getVar(RPMVAR_DOCDIR),
-                       name, version, release);
+               sprintf(buf, "/usr/doc/%s-%s-%s", name, version, release);
                filename = buf;
                passed_special_doc = 1;
            }