From: marc Date: Wed, 27 Dec 1995 16:40:02 +0000 (+0000) Subject: added struct sources X-Git-Tag: tznext/4.11.0.1.tizen20130304~11873 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7a9d83aa7ff7b22c5aae0696a61e5a7b078bf23b;p=tools%2Flibrpm-tizen.git added struct sources CVS patchset: 87 CVS date: 1995/12/27 16:40:02 --- diff --git a/build/specP.h b/build/specP.h index 7496d90..6b2aaf3 100644 --- a/build/specP.h +++ b/build/specP.h @@ -5,8 +5,17 @@ #include "header.h" #include "stringbuf.h" +typedef struct sources { + char *fullSource; + char *source; + int ispatch; + int num; + struct sources *next; +} *Sources; + struct SpecRec { char *name; /* package base name */ + Sources sources; StringBuf prep; StringBuf build; StringBuf install; @@ -23,7 +32,7 @@ struct PackageRec { char *subname; /* If both of these are NULL, then this is */ char *newname; /* the main package. subname concats with name */ Header header; - int files; /* If 0, package has no files, and won't be written */ + int files; /* If -1, package has no files, and won't be written */ StringBuf filelist; struct PackageRec *next; };