projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5144e82
)
added SOURCEURLn and PATCHURLm pacros
author
root
<devnull@localhost>
Mon, 14 Apr 1997 20:20:13 +0000
(20:20 +0000)
committer
root
<devnull@localhost>
Mon, 14 Apr 1997 20:20:13 +0000
(20:20 +0000)
CVS patchset: 1536
CVS date: 1997/04/14 20:20:13
build/spec.c
patch
|
blob
|
history
diff --git
a/build/spec.c
b/build/spec.c
index
90b5b2d
..
daad0e3
100644
(file)
--- a/
build/spec.c
+++ b/
build/spec.c
@@
-140,6
+140,8
@@
static int addSource(Spec spec, char *line)
sprintf(expansion, "%s/%s", rpmGetVar(RPMVAR_SOURCEDIR), p->source);
sprintf(name, "%s%d", (p->ispatch) ? "PATCH" : "SOURCE", p->num);
addMacro(name, expansion);
+ sprintf(name, "%sURL%d", (p->ispatch) ? "PATCH" : "SOURCE", p->num);
+ addMacro(name, p->fullSource);
if (p->ispatch) {
rpmMessage(RPMMESS_DEBUG, "Patch(%d) = %s\n", p->num, p->fullSource);