On Thu, 2021-11-25 at 18:10 -0500, Matthew Miller wrote:
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.
> I know at least 2 cases :
>
> inkscape
>
https://src.fedoraproject.org/rpms/inkscape/c/21232fceb48a890f0a40d985001...
>
> pstoedit
>
https://src.fedoraproject.org/rpms/pstoedit/c/dfc84e91d392378aa2c36568073...
Looks like those are the only two with 8, but `ocaml-fileutils` has
the same
pattern with 7 and `esc` has it with 9.
I searched for :
r:src.fedoraproject.org file:.*\.spec$ ![^\(]?0 [><=]
62 cases
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
_______________________________________________
packaging mailing list -- packaging(a)lists.fedoraproject.org
To unsubscribe send an email to packaging-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproje...
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure
--
Sérgio M. B.