Only ignore build in top level
Add some stuff to make building rpms easier

Conflicts:
	pkg/rpm/salt.spec
Make buildid a argument
Inverted rules are now recognized for the -A, -s, and -d parameters.
Merge pull request #8547 from ConceitedCode/master

Some inverted rules are now recognized in the iptables module
Merge branch 'develop'
Merge branch 'develop'
Log warning if the grains file cannot be parsed. Refs #8690.
add function file.grep
update function: file.grep

Add exception handling for cmd.run_all
Fix incorrect multiple blockreplace block handling

This fixes #8710.
Expose a copy of the state dictionary to state functions.

Fixes #8343 since `__sls__` is now available in `__state__` and not on `kwargs`.
Closes #8709 since it's not the right approach.
Fixes #8710 and closes #8711 since I've cherry-picked the fix for #8710 in from #8711.
Apparently python 2.6 does not know that `{'a', 'b', 'c'}` is a `set()`.
Correct the state test case and respective expected output.
Pylint fix.
Merge pull request #8813 from cachedout/#8690

Log warning if grains file contains errors.
wrap file copy in umasks to secure permissions

* salt.util.copyfile needs preceding with 54 (aka 0066) umask in order
  for new files to correctly get 0600 mode permissions.
* shutil.copyfile is preceded by a 63 (aka 0077) umask.

Fixes issue #8590
Add pkgrepo tests for CentOS

Ubuntu ones will follow soon.
Update wheen return api for consistency
Fix pkgrepo tests when python file is run by itself on CLI