Accurate dependencies generated, but perl deps are slow.
authorjbj <devnull@localhost>
Mon, 21 Oct 2002 23:25:02 +0000 (23:25 +0000)
committerjbj <devnull@localhost>
Mon, 21 Oct 2002 23:25:02 +0000 (23:25 +0000)
CVS patchset: 5795
CVS date: 2002/10/21 23:25:02

build/rpmfc.c

index 67ee2ea..1554bd4 100644 (file)
@@ -280,7 +280,7 @@ static int rpmfcHelper(rpmfc fc, char deptype, const char * nsdep)
        depsp = &fc->provides;
        break;
     case 'R':
-       snprintf(buf, sizeof(buf), "%%{?__%s_provides}", nsdep);
+       snprintf(buf, sizeof(buf), "%%{?__%s_requires}", nsdep);
        depsp = &fc->requires;
        break;
     }