[CentOS-devel] Search through CentOS Stream specfiles

Thu Jun 9 16:19:33 UTC 2022
Josh Boyer <jwboyer at redhat.com>

On Thu, Jun 9, 2022 at 11:59 AM Davide Cavalca via CentOS-devel
<centos-devel at centos.org> wrote:
>
> 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

Oh, fantastic!  Thanks for teaching me something.

josh