- fix: db1 end-of-file not detected in legacy compatible way.
[tools/librpm-tizen.git] / rpm.magic
1 #------------------------------------------------------------------------------
2 #
3 # RPM: file(1) magic for Red Hat Packages
4 #
5 0       beshort         0xedab          
6 >2      beshort         0xeedb          RPM
7 >>4     byte            x               v%d
8 >>6     beshort         0               bin
9 >>6     beshort         1               src
10 >>8     beshort         1               i386
11 >>8     beshort         2               Alpha
12 >>8     beshort         3               Sparc
13 >>8     beshort         4               MIPS big endian
14 >>8     beshort         5               PowerPC
15 >>8     beshort         6               68000
16 >>8     beshort         7               SGI
17 >>8     beshort         8               RS6000
18 >>8     beshort         10              Sparc 64bit
19 >>8     beshort         11              MIPS little endian
20 >>8     beshort         12              ARM
21 >>10    string          x               %s