Source code generally does not. Occasionally (only once I can think of) have I seen source tailored to a distro, and I don't think it was necessary since I cannot even remember the situation
RPM's, depending on how important to system integrity, may be able to 'not' be specific either. However, for the most part, it is best to not try to install those that are not made for your system, or aren't generic. Generic RPM's usually work fine though, if the developer doesn't make official RPM's for your distro.