projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93ca0fd
)
don't use RPMS/<arch> if not arch_sensitive
author
root
<devnull@localhost>
Wed, 22 May 1996 17:34:35 +0000
(17:34 +0000)
committer
root
<devnull@localhost>
Wed, 22 May 1996 17:34:35 +0000
(17:34 +0000)
CVS patchset: 580
CVS date: 1996/05/22 17:34:35
build/pack.c
patch
|
blob
|
history
diff --git
a/build/pack.c
b/build/pack.c
index
648429a
..
4a620ae
100644
(file)
--- a/
build/pack.c
+++ b/
build/pack.c
@@
-102,7
+102,7
@@
int generateRPM(char *name, /* name-version-release */
} else {
archName = getArchName();
sprintf(filename, "%s/%s/%s.%s.rpm", getVar(RPMVAR_RPMDIR),
-
archName
, name, archName);
+
getVar(RPMVAR_ARCHSENSITIVE) ? archName : ""
, name, archName);
}
/* Write the archive to a temp file so we can get the size */