Earlier , Hamas said it is serious about reaching a deal on a unity government .