Re: Silent changes in Packaging Guidelines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Vitaly Zaitsev via devel wrote:
> On 03/11/2022 17:01, Gary Buhrmaster wrote:
>> As I recall(*), there are spec files that just
>> find the various installed files (categorized
>> as needed), and then use the -f option
>> on the %files section.
> 
> IMO, such behavior should be strictly prohibited.

Congratulations, you have just banned %find_lang…

There are cases where automatically generating a file list is clearly the 
most reasonable solution, and we even have macros for that (e.g., %find_lang 
and some KDE-specific variants of the concept). (Hint: A wildcard would 
actually be wrong to use there because it misses the %lang(…) tags that the 
macro automatically adds. And you really do not want to have to list every 
single language manually, and update the list for every single new upstream 
release, since translations come and go.)

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux