Remove empty directories only if they match exclude pattern
Remove directory if it was excluded as a path
Added --solaris-user and --solaris-group options and kept the existing defaults
* Use Find module to traverse files.
* Use only File.fnmatch on paths/patterns.
Fix spec
break on match and delete
change the dependancy on json gem from a hard =1.6.6 to a softer >=1.6.6
fix pear info for packaging

if the packaged version was not the latest in the channel the output version was be incorrect.
Merge pull request #357 from oker1/fix_pear_info

fix pear info for packaging
pear: add options for bin_dir, php_bin, and php_dir settings

packages with executables will put their bins in bin_dir, which is
prefix/pear by default. php_bin can be used if the php interpreter is
in a different location on the target system. php_dir can be used for
overriding the directory where php files are put (useful on debian).
pear: remove debug statement
pear: add more unnecessary pear directories to delete
pear: replace pear_path in executable files

some packages put the pear_path value in their executable (PHPUnit for example)
which is the staging path, so it has to be replaced to the installed path, otherwise
the executable won't work
Merge pull request #350 from uglyog/master

Change the gemspec from json =1.6.6 to json >=1.6.6
Add some ... subtle notes
Catch ProcsesFailed errors
Catch editor failures
- Try to set a sane default path if you specify --prefix for python
  packages.
  If you say --prefix /foo/bar, then setup.py is invoked with:
    .py --install-data /foo/bar/data
    .py --install-scripts /foo/bar/bin
    .py --install-lib /foo/bar/lib
Merge pull request #358 from oker1/pear_enhancements

Pear enhancements
- escape the staging_path in a regexp when replacing the pear_dir paths