code: public void setConfig(boolean config) {
          checkRpmFileSetAttributesAllowed();
          if(config) {
              directive.set(Directive.RPMFILE_CONFIG);
          } else {
              directive.unset(Directive.RPMFILE_CONFIG);
          }
      }
docs: Supports RPM's {@code %config} directive, used to flag the specified file as being a configuration file.
  RPM performs additional processing for config files when packages are erased, and during installations
  and upgrades.
  Permitted values for this directive are:
  <ul>
  <li> {@code true}    (equivalent to specifying {@code %config}
  <li> {@code false}     (equivalent to omitting {@code %config})
  </ul>
  
  @see <a href="http://www.rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html">rpm.com</a>
  @see #directive
  
  @param config to set