teknoraver / rpms / rpm

Forked from rpms/rpm 3 months ago
Clone

Blame SOURCES/rpm-4.13.x-Implement-noconfig-query.patch

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