01-07-07 12:59 AM
In linux.redhat.rpm Yakov <iler.ml@gmail.com> wrote:
> In .spec, how do I specify a filename that does not exist at the time
> of installation, (it is created during %pre), but I want rpm to know
> about this file. How do I tell rpm about such filenames ?
Try to mark those as '%ghost'. Possibly you may need to "touch"
such files in the build process; or you may simply just "touch"
and you will overwrite them later in %pre and let 'rpm -V' to
complain when asked.
It is possible to find such markings in spec files from time time
(IIRC somewhere in xorg-x11* specs, for example, and for sure in specs
for lcms-1.15-1.2.2 from FC) but I have no idea if this is really
explicitely documented anywhere save rpmbuild sources.
Michal
[ Post a follow-up to this message ]
|