wuyuoss / rpms / rpm

Forked from rpms/rpm 3 years ago
Clone
Blob Blame History Raw
--- current/lib/poptQV.c.noconfig	2017-10-10 16:36:22.671332271 +0200
+++ current/lib/poptQV.c	2017-10-10 16:40:44.735808086 +0200
@@ -185,6 +185,9 @@
  { "noghost", '\0', POPT_BIT_CLR|POPT_ARGFLAG_DOC_HIDDEN,
 	&rpmQVKArgs.qva_fflags, RPMFILE_GHOST,
         N_("skip %%ghost files"), NULL },
+ { "noconfig", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN,
+	&rpmQVKArgs.qva_fflags, RPMFILE_CONFIG,
+        N_("skip %%config files"), NULL },
 
  { "qf", '\0', POPT_ARG_STRING | POPT_ARGFLAG_DOC_HIDDEN, 0, 
 	POPT_QUERYFORMAT, NULL, NULL },
--- current/doc/rpm.8.noconfig	2017-10-10 16:36:22.671332271 +0200
+++ current/doc/rpm.8	2017-10-10 17:04:28.537393197 +0200
@@ -76,7 +76,7 @@
  [\fB--nodigest\fR] [\fB--nosignature\fR]
  [\fB--nolinkto\fR] [\fB--nofiledigest\fR] [\fB--nosize\fR] [\fB--nouser\fR]
  [\fB--nogroup\fR] [\fB--nomtime\fR] [\fB--nomode\fR] [\fB--nordev\fR]
- [\fB--nocaps\fR]
+ [\fB--nocaps\fR] [\fB--noconfig\fR]
 
 .SS "install-options"
 .PP
@@ -673,6 +673,9 @@
 \fB--nofiles\fR
 Don't verify any attributes of package files.
 .TP
+\fB--noconfig\fR
+Don't verify config files.
+.TP
 \fB--noscripts\fR
 Don't execute the \fB%verifyscript\fR scriptlet (if any).
 .TP