@pmatilai commented on this pull request.


> +-c          create the build directory (and change to it) before unpacking
+-D          do not delete the build directory prior to unpacking (used
+            when more than one source is to be unpacked with `-a` or `-b`)
+-n DIR      set the name of build directory (default is `%{name}-%{version}`)
+-T          skip the default unpacking of the first source (used with
+            `-a` or `-b`)
+-q          operate quietly
+```
+
+#### %patch
+
+`%patch [options] [arguments]`
+
+`%patch` is used to apply patches on top of the just unpacked pristine sources.
+Historically it supports multiple strange syntaxes which are nowadays
+deprecated. To apply patch number 1, the main syntaxes are:

See 
https://github.com/rpm-software-management/rpm/blob/3e8c997a281031b40dd8412d745c8b0e4580c788/build/parsePrep.c#L379
 for starters, but it's the combos that really kill: "%patch 1" would try to 
apply patch number 0 and 1. And so on.

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

Message ID: <rpm-software-management/rpm/pull/2352/review/1251546...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to