And another that I forgot to report for quite some time since file-3.33:

(Compiled file-3.34-2mdk source and installed it, then run it:)
[root@mobile share]# file ~maddog/devel/RPMS/i686/file-3.34-2mdk.i686.rpm
/home/maddog/devel/RPMS/i686/file-3.34-2mdk.i686.rpm: data

(Installed stock file-3.34-3mdk binary RPM from FTP mirrors, then run it:)
[root@mobile share]# file ~maddog/mdkdevelRPMS/file-3.34-3mdk.i586.rpm
/home/maddog/mdkdevelRPMS/file-3.34-3mdk.i586.rpm:

Abel Cheung



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