On Thu, Nov 25, 2021 at 10:43:26PM +0000, Sérgio Basto wrote:
On Thu, 2021-11-25 at 11:49 -0500, Matthew Miller wrote:
> Ever wanted to search across all Fedora spec files for some pattern?
Well , we need search for "%if ! 0%{?rhel} >= 8" which is one wrong
condictional for not {?rhel} >= 8 , see [1]
Yes, that's exactly the kind of thing I was hoping we could use this to help
improve.
Looks like those are the only two with 8, but `ocaml-fileutils` has the same
pattern with 7 and `esc` has it with 9.
For that matter, there are also a large number of spec files with macros
referring to RHEL 6 or RHEL 5, a handful conditionalizing on RHEL 4, and
even one with a RHEL 3 reference (imagefactory-plugins). That could probably
be cleaned up!
--
Matthew Miller
<mattdm(a)fedoraproject.org>
Fedora Project Leader