naive implementation of rpm %attr directive