[CentOS-devel] Search through CentOS Stream specfiles

Thu Jun 9 15:59:04 UTC 2022
Davide Cavalca <dcavalca at fb.com>

On Wed, 2022-06-08 at 21:26 -0500, Maxwell G via CentOS-devel wrote:
> Hi everyone,
> 
> Is there some sort of specfile tarball or other method to search
> through all 
> the CentOS Stream specfiles for a regex? In Fedora, we have a
> tarball[1] with 
> all the specfiles that's generated daily, as well as access to
> Sourcegraph[2]. 
> Is there an equivalent for CentOS Stream/RHEL? Of course, I could
> manually 
> extract them from the *-source yum repos' SRPMs or distgit, but that
> would be 
> tedious.

It's a recent addition (see https://pagure.io/centos-infra/issue/760
for details), but try
https://git.centos.org/sources/rpm-specs-latest.tar.xz

Cheers
Davide