alter package_patch to use rfc 6902 (http://tools.ietf.org/html/rfc6902)