From 01b86a9918bad3e00915b48c2aa570b64cfdbd56 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 May 1996 18:48:11 +0000 Subject: [PATCH] prelim Req / Prov stuff slot for %files -f ... CVS patchset: 565 CVS date: 1996/05/07 18:48:11 --- build/specP.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/build/specP.h b/build/specP.h index 62f0061..bd7a6e3 100644 --- a/build/specP.h +++ b/build/specP.h @@ -13,6 +13,13 @@ typedef struct sources { struct sources *next; } *Sources; +struct ReqProv { + int flags; + char *name; + char *version; + struct ReqProv *next; +}; + struct SpecRec { char *name; /* package base name */ char *specfile; @@ -38,9 +45,16 @@ struct PackageRec { Header header; char *icon; int files; /* If -1, package has no files, and won't be written */ + char *fileFile; StringBuf filelist; StringBuf doc; /* Used to buffer up %doc lines until fully parsed */ + int numReq; + int numProv; + struct ReqProv *reqprov; struct PackageRec *next; }; +int addReqProv(struct PackageRec *p, int flags, char *name, char *version); +int addReqProvHeaderEntry(Header h, struct PackageRec *p); + #endif _SPECP_H_ -- 2.7.4