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/21232fceb48a890f0a40d985001eb64cb75e2989?branch=rawhide > > > > pstoedit > > https://src.fedoraproject.org/rpms/pstoedit/c/dfc84e91d392378aa2c365680731ee5ff49d2608?branch=rawhide > > 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@xxxxxxxxxxxxxxxxx> > Fedora Project Leader > _______________________________________________ > packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx > 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@xxxxxxxxxxxxxxxxxxxxxxx > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure -- Sérgio M. B. _______________________________________________ packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure