21fe0a2 Backport: Update tests to be endian safe, fix FTBFS on s390x

Authored and Committed by churchyard 3 years ago
    Backport: Update tests to be endian safe, fix FTBFS on s390x
    
    Also, use %autopatch to apply the patches.
    
        
file added
+75
file modified
+7 -5