diff --git a/doc/rpmbuild.8 b/doc/rpmbuild.8 index 2fd7201ab9..d9aa8c5245 100644 --- a/doc/rpmbuild.8 +++ b/doc/rpmbuild.8 @@ -111,6 +111,13 @@ will be run after a chroot(2) to .TP \fB-D, --define='\fIMACRO EXPR\fB'\fR Defines \fIMACRO\fR with value \fIEXPR\fR. +.TP +\fB--scm=\fISCM\fR +Select the \fISCM\fR to use with %autosetup, if one is not set in the spec file. +Note that not all values for \fISCM\fR, e.g., \fBpatch\fR (the default) and +\fBgendiff\fR, \fBgit\fR, or \fBquilt\fR work interchangeably with all +other patches and options stated in the %autosetup line, especially +option \fB-p\fIN\fR. .SS "BUILD OPTIONS" .PP The general form of an rpm build command is diff --git a/rpmpopt.in b/rpmpopt.in index 6a2077ded5..7021898a42 100644 --- a/rpmpopt.in +++ b/rpmpopt.in @@ -210,6 +210,9 @@ rpmbuild alias --with --define "_with_!#:+ --with-!#:+" \ rpmbuild alias --without --define "_without_!#:+ --without-!#:+" \ --POPTdesc=$"disable configure