According to change in entropy for a reversible phase transition, say from liquid to gas at constant pressure $p$ and temperature $T$
: $\Delta S =\frac{\int dq_p}{T} $ which comes out to be $\Delta S =\frac{\Delta H_{vap}}{T_b}$. This means that this process is spontaneous since Entropy change is positive. But the Gibb's Energy change for this process is $0$. Why is that?
Change in entropy for this process suggests that this is a spontaneous process but Gibb's Energy change suggests it is not. Why does irregularity occur?