summaryrefslogtreecommitdiff
path: root/build/spec.c
diff options
context:
space:
mode:
authormarc <devnull@localhost>1996-07-20 21:09:00 +0000
committermarc <devnull@localhost>1996-07-20 21:09:00 +0000
commit28f21c3c18e201d47bbf60e9de9cc26da018cef7 (patch)
tree24d5a015956cbf7e6401118d03660439de86a2e4 /build/spec.c
parentdd51d07c5031eca6be52175a9955689f72149e05 (diff)
downloadrpm-28f21c3c18e201d47bbf60e9de9cc26da018cef7.tar.gz
rpm-28f21c3c18e201d47bbf60e9de9cc26da018cef7.tar.bz2
rpm-28f21c3c18e201d47bbf60e9de9cc26da018cef7.zip
fix exclusiveos to match on os, not arch. duh.
CVS patchset: 901 CVS date: 1996/07/20 21:09:00
Diffstat (limited to 'build/spec.c')
-rw-r--r--build/spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/spec.c b/build/spec.c
index f1f95aff0..80158fe9a 100644
--- a/build/spec.c
+++ b/build/spec.c
@@ -1025,7 +1025,7 @@ Spec parseSpec(FILE *f, char *specfile, char *buildRootOverride)
case RPMTAG_EXCLUSIVEOS:
sprintf(buf2, "%s %s", (tag == RPMTAG_EXCLUDEOS) ?
"%ifos" : "%ifnos", s);
- if (match_arch(buf2)) {
+ if (match_os(buf2)) {
error(RPMERR_BADOS, "OS mismatch!");
return NULL;
}