Create pending directory in rpm packaging before scping to it
Don't create a deb directory in rpm job

This should only be creating pending/$NAME-$VERSION, not the deb
directory inside of it.
Exclude fuse-extra from project.clj

We just noticed that the latest version of activemq is dragging in
a new dependency: `org.fusesource.fuse-extra/fusemq-level`.
This new dependency doesn't seem to be used (need to test that theory!)
and adds 20MB of bloat to our uberjar.
Merge pull request #404 from nicklewis/fixes-for-packaging-rcs

Fixes for packaging rcs
Merge pull request #403 from cprice-puppet/maint/master/exclude-fusesource

Exclude fuse-extra from project.clj
Add initial packaging yaml files to './ext'

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move :uberjar task into its own Rake file

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move tarball create task into its own Rake file

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Add a Rake file with a task for cloning the packaging repo

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Add loading of new separate tasks to top-level Rakefile

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove all rpm-related tasks and variables from Rakefile

We're going to let the packaging repo handle this.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Update the project.clj file to use `rake version`

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move redhat spec erb into ext/redhat

Per packaging repo standard

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Break :template out into its own file

We also remove the rpm spec from this because the packaging repo really
wants to do this itself.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
We need the new Rake task files in our tarball as well

Otherwise `rake install` in the spec/rules won't work.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move install task into its own Rakefile

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Define JAR_FILE at the top of Rakefile

because we need it everywhere.
Spec fixups to remove os-based erb conditionals

The problem with evaluating os-based conditionals in the erb templating
is that it forces us to use different srpms for different OS's etc. This
becomes less sustainable as we try to automate more of this with the
packaging repo, which expects the specfile to take care of itself
regarding such things. This commit replaces some of the conditionals
with actual redhat spec conditionals. The biggest change is that of
changing the puppet_libdir assignment when building for pe to the
ruby sitelibdir, instead of a conditional on ruby version. Additionally,
on the redhat side, we support ruby 1.9 for fedora >= 17, so this commit
changes that conditional from an os_family fact check to a spec file
conditional, to avoid having to build different FOSS rpms for different
ruby versions.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>