On Tuesday 22 of September 2009 08:53:21 doiggl@velocitynet.com.au wrote:
Hello, What does the following line do, I found in in the %files part of bugzilla.spec , Ive not heard of %ghost before, the line reads as:
%ghost %{bzinstallprefix}/bugzilla/bugzilla-req
The %ghost definition is in maximum rpm [1]. Ghost files are owned by package, but rpm does not take care about their modification. [1] http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list- directives.html
How can this error be resolved ?
build20 started "build bugzilla.spec" at Mon Sep 21 14:47:01 UTC 2009.
Processing files: bugzilla-3.4.2-3.1.noarch error: File not found: /usr/src/packages/BUILDROOT/bugzilla-3.4.2-3.1.x86_64/usr/share/bugzilla/bu gzilla-req Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.EyV1Q6
The ghost file must exists in BUILDROOT (seems to be that this is not required by Fedora rpm). You can use touch in %install section to create it: touch %{buildroot}%{bzinstallprefix}/bugzilla/bugzilla-req Regards Michal Vyskocil