Recently CentOS upgraded from 7.5 to 7.6 and now one of the packages upgraded to a newer version I'm not ready to use yet. I'm planning instead to build and support an older version of this package.
I wonder if there a way to extract or see (perhaps even versioned) original spec files from which CentOS packages are built. Is there a source code repository for spec files which are used to build official EPEL packages?
Best Answer
You can find all the source packages (SRPMs) in the CentOS vault; for example, you’ll find the source packages for 7.5 here.
EPEL SRPMs are likewise available from Fedora (where they’re maintained); you’ll find the source packages for 7 here.