On 28-Mar-01 Dominic Mitchell opined:
>
> I use to rebuild rpms this way
>
> rpm --rebuild --target i686 foo.src.rpm
>
> Now, it does not work. It seems to think that i686 is a file :
>
> $ rpm --rebuild --target i686 gnapster-1.4.2-1.src.rpm
> error: cannot open i686: Aucun fichier ou répertoire de ce type
> ( There is no file or directory of this type)
>
>
> Can someone comment on this? Why is it failing?
You need and "=" in there, as in
target=i686
I found by mistake that some sloppy specfiles will allow stupid things,
too. Such as
target=686
target=6
target=kitty
target=antidisestablishmentarianism
The build will proceed along happily and actually try to create such a
critter. Can't recall if it actually finished as it's been some months.
But, I think I found out only after the build was successful and I
couldn't find the rpm, which would mean it completed properly.
---
Press every key to continue.
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list