In most cases the .repo files use variables such as $releasever and $basearch to make .repo files last forever. Hower, there's no magic to .repo files, they are simply files which tell yum where to look, if the packages aren't built for Core 4, yum won't find any. In short, yes, the .repo files will work as long as the repository is updated to support Core 4.