summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-04 19:04:16 +0000
committerjbj <devnull@localhost>2002-08-04 19:04:16 +0000
commitae3511bfa5f33adcb37f32704c65d8c85e810dda (patch)
treed971f90b36b822cbcd6831c546f47420878cdf21 /lib
parentde0ff3b553d9f1b44c73b378637544ed6092df1e (diff)
downloadlibrpm-tizen-ae3511bfa5f33adcb37f32704c65d8c85e810dda.tar.gz
librpm-tizen-ae3511bfa5f33adcb37f32704c65d8c85e810dda.tar.bz2
librpm-tizen-ae3511bfa5f33adcb37f32704c65d8c85e810dda.zip
- fix: don't repackage %%ghost files.
CVS patchset: 5598 CVS date: 2002/08/04 19:04:16
Diffstat (limited to 'lib')
-rw-r--r--lib/fsm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fsm.c b/lib/fsm.c
index df96b6021..0e653c541 100644
--- a/lib/fsm.c
+++ b/lib/fsm.c
@@ -1618,6 +1618,8 @@ int fsmStage(FSM_t fsm, fileStage stage)
}
if (fsm->goal == FSM_PKGBUILD) {
+ if (fsm->fflags & RPMFILE_GHOST) /* XXX Don't if %ghost file. */
+ break;
if (!S_ISDIR(st->st_mode) && st->st_nlink > 1) {
struct hardLink_s * li, * prev;