Please do not reply directly to this email. All additional comments should be made in the comments box of this bug. https://bugzilla.redhat.com/show_bug.cgi?id=675557 --- Comment #25 from Björn Persson <bjorn@xxxxxxxxxxxxxxxxxxxx> 2011-08-25 18:55:33 EDT --- Simply assigning Hardware_Platform to Architecture won't work. The data types are quite different. I think something along these lines should work: case Directories.Hardware_Platform is when "i386" => Architecture : Architectures := external ("ARCHITECTURE", "x86"); when "x86_64" => Architecture : Architectures := external ("ARCHITECTURE", "x86_64"); when "arm" => Architecture : Architectures := external ("ARCHITECTURE", "portable_32_le"); when "alpha" | "ia64" => Architecture : Architectures := external ("ARCHITECTURE", "portable_64_le"); when "ppc" | "s390" | "sparc" => Architecture : Architectures := external ("ARCHITECTURE", "portable_32_be"); when "ppc64" | "s390x" | "sparc64" => Architecture : Architectures := external ("ARCHITECTURE", "portable_64_be"); end case; Beware! The above code is completely untested and I don't guarantee that the endianness is correct for all the architectures. -- Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review