232-magic-add-delta-rpm.patch 508 B

12345678910111213141516
  1. Author: Daniel Novotny <dnovotny@redhat.com>
  2. Description: Add new magic for delta rpm files.
  3. diff -Naurp file.orig/magic/Magdir/rpm file/magic/Magdir/rpm
  4. --- file.orig/magic/Magdir/rpm 2009-12-05 17:30:09.000000000 +0100
  5. +++ file/magic/Magdir/rpm 2009-12-05 17:56:35.000000000 +0100
  6. @@ -21,3 +21,9 @@
  7. >>8 beshort 11 MIPSel
  8. >>8 beshort 12 ARM
  9. >>10 string x %s
  10. +
  11. +# Type: Delta RPM
  12. +# From: Daniel Novotny (dnovotny@redhat.com)
  13. +0 string drpm Delta RPM
  14. +!:mime application/x-rpm
  15. +>12 string x %s