fix virtual file attribute bug that skipped all files in binary rpm.
authorjbj <devnull@localhost>
Tue, 15 Sep 1998 14:26:02 +0000 (14:26 +0000)
committerjbj <devnull@localhost>
Tue, 15 Sep 1998 14:26:02 +0000 (14:26 +0000)
CVS patchset: 2315
CVS date: 1998/09/15 14:26:02

CHANGES
build/files.c

diff --git a/CHANGES b/CHANGES
index 7a278fc..8e997f6 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -14,6 +14,7 @@
        - add new fully recursive macro.c
 
 2.5.3 -> 2.5.4:
+       - fix virtual file attribute bug that skipped all files in binary rpm.
        - eliminate infinite loop with missing tmpdir (Trent Jarvi).
        - os_canon for CYGWIN32_NT/95.
        - rationalize autoconf detection of gzip/bzip2.
index 131ee84..811a5e6 100644 (file)
@@ -628,7 +628,8 @@ static int parseForSimple(Spec spec, Package pkg, char *buf,
                fl->currentFlags |= vfa->flag;
            break;
        }
-       if (vfa)
+       /* if we got an attribute, continue with next token */
+       if (vfa->attribute != NULL)
            continue;
     }