Description of problem: The Release version string is inconsistent with the gcc/DEV-PHASE string. Version-Release number of selected component (if applicable): How reproducible: In gcc.spec file, we have: %global gcc_release 5 Release: %{gcc_release}.1%{?dist} echo 'Red Hat %{version}-%{gcc_release}' > gcc/DEV-PHASE from the above, we can see, the string that is echoed to gcc/DEV-PHASE missed the suffix ".1" after %{gcc_release}, is this intended or is a bug? if it's intended, what the reason not echoing the suffix ".1" into gcc/DEV-PHASE. all the redhat gcc releases have the same behavior. Additional info:
This behavior is inherited from Fedora gcc. I don't think it's a bug though: %{version} and %{gcc_release} is what really matters, adding .N to Release is usually used for trivial rebuilds and minor changes, but not for updates from upstream. What problems does this cause?
It is intentional, from the DEV-PHASE macros then gcc computes __GCC_RH_RELEASE__.