On 12. 01. 22 22:16, Neal Gompa wrote:
On Wed, Jan 12, 2022 at 4:08 PM Zbigniew Jędrzejewski-Szmek
<zbyszek(a)in.waw.pl> wrote:
>
> On Wed, Jan 12, 2022 at 08:59:30PM +0100, Miro Hrončok wrote:
>> Hello,
>>
>> I've recently finally watched *Still packaging like it's 1999?* from
>> DevConf.CZ 2020 by Florian Festi.
>>
>> One thing that I've learned is that for many years now, we can do:
>>
>> Patch: foo.patch
>> Patch: bar.patch
>> Patch: baz.patch
>
> Definitely.
>
We also can use %sourcelist and %patchlist for Debian-style series
lists in the spec file. This was also introduced in RPM 4.15.
For example:
%sourcelist
# Main source
foo-0.tar.gz
# distro README
bar-README
%patchlist
# Patch that foos
foo.patch
# Bar patch
bar.patch
While certainly possibly, I would not update our examples to do this.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok