Whitespace fixes in redhat specfile
Remove version definitions that are established by packaging

Including deb versions

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove debian build methods tasks from Rakefile

These will be handled by the packaging repo.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove get_version from Rakefile
Move debian into ext, not top level

per packaging repo expectations, which wants ext/{redhat,debian}

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Move the terminus task into its own file
Add :clear to tasks that we want from puppetdb

And not from the packaging repo.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Remove @plibdir from terminus install and name files explicitly

The terminus package shouldn't own the puppet lib dir, but rather just its own
files therein. This commit makes it so. It also removes the @plibdir
conditional in favor of a @pe conditional to help us move toward getting rid of
the OS-specific path templating in build artifacts.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Explicitly chown files in the terminus postinst

Rather than a wholesale chown -R of the entire puppet libdir. Also, replace the
@plibdir with actual paths.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Rename redhat specfile in workdir for project we're building

The packaging repo expects a specfile named after the project. A
dual-purpose one like puppetdb's isn't supported yet, so we need
to rename it appropriately.

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