Re: Guidelines: Should numbered patches be replaced by unnumbered in most of our examples?

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

 



On 12. 01. 22 20:59, Miro Hrončok wrote:
Hello,

I've recently finally watched *Still packaging like it's 1999?* from DevConf.CZ 2020 by Florian Festi.

I forgot to include the link:

https://youtu.be/0bfA0441dxc?t=666

One thing that I've learned is that for many years now, we can do:

Patch:          foo.patch
Patch:          bar.patch
Patch:          baz.patch

Instead of the more traditional:


Patch1:         foo.patch
Patch2:         bar.patch
Patch3:         baz.patch

The same applies to sources.

Should we adapt our examples in the packaging guidelines to prefer this approach unless the patches/sources need to be referenced by their number in %prep? It seems simpler.

It has been supported since RPM 4.15 (hence not yet on RHEL 8).


--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux