Forgot to mention that, even after compiling file-3.32-3mdk (that's from
LM 7.2), no such problem as I have described exists. Seems to
be related to file >=3.33 instead of my own problem. Anybody has trouble
with it too?



On Sat, 7 Apr 2001, Troels Walsted Hansen wrote:

> Hi all.
>
> The latest cooker RPM for the "file" utility seems to have  a bug.
>
> The bug is related to the following changelog entry:
>
> * Fri Jan 19 2001 Geoffrey Lee <[EMAIL PROTECTED]> 3.33-2mdk
> - ask requested by Chmou move the magic files to its own directory.
>
> The magic file movement is implemented through the following in the spec
> file:
>
> %configure
> [...]
> # As requested by chmou.
> find . -type f -exec perl -pi -e
> "s|/usr/share/magic|/usr/share/magic/magic|g" {} \;
>
> At first glance it would seem to be okay, since it runs after configure has
> been run. Unfortunately Geoffrey must have overlooked the fact that the
> Makefile contains dependencies to re-run automake, rebuild the configure
> script and rebuild the Makefile whenever the Makefile.(in|am) has changed...
>
> I ran into the bug while rebuilding the RPM on my (extensively upgraded)
> Mandrake 7.1 box. If the bug doesn't appear on Mandrake-current then you may
> shoot me (but please explain why first).
>
> Cheers..
>
> --
> Troels Walsted Hansen
>
>
>


Reply via email to