[Rpm-maint] [rpm-software-management/rpm] Turn %prep into a normal build script (Issue #2205)

Frank Dana notifications at github.com
Mon Oct 31 16:17:32 UTC 2022


> For some stats, out of 22000+ packages in Fedora, about 6300 have Patch declarations, of which roughly 3500 are still using the `%patch1` style syntax. and a whopping 25 are using other variants, including defaulting to 0 and using a combo of -P and positional arguments etc. The rest are presumably using `%autosetup` (~8700 packages)

Hey, wait... those numbers don't add up. If there are 6300 <code>Patch<var>N</var></code>-packages, and 3525 use <code>%patch<var>N</var></code> or <code>%patch <var>N</var></code>, then at most 2775 are using `%autosetup`.

Or is ~8700 the _total_ number of `%autosetup` packages, including those with no <code>Patch<var>N</var></code> declarations?

(If so, that's also depressing: After all this time, only 39.54% of packages are using `%autosetup`? I know packages using conditional patching can't use it, but at **most** that's the other 2775 with Patch declarations.)

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2205#issuecomment-1297337186
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2205/1297337186 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221031/19579d3a/attachment.html>


More information about the Rpm-maint mailing list