From 0e807a7738ff0455da4a54b5e4176bc13985f19f Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Tue, 19 Dec 2017 09:50:00 -0600 Subject: [PATCH] Add deprecation patch to spec --- SPECS/puppet-rabbitmq.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SPECS/puppet-rabbitmq.spec b/SPECS/puppet-rabbitmq.spec index 6541bc7..e2a29cb 100644 --- a/SPECS/puppet-rabbitmq.spec +++ b/SPECS/puppet-rabbitmq.spec @@ -23,6 +23,7 @@ URL: https://github.com/puppetlabs/puppetlabs-rabbitmq Source0: https://github.com/puppetlabs/%{upstream_name}/archive/%{commit}.tar.gz#/%{upstream_name}-%{shortcommit}.tar.gz Patch0001: 0001-Roll-up-TIS-patches.patch Patch0002: 0002-Changed-cipher-specification-to-openssl-format.patch +Patch0003: 0003-Eliminate-Puppet-4-deprecation-warnings.patch BuildArch: noarch @@ -37,6 +38,8 @@ Installs, configures, and manages RabbitMQ. %setup -q -n %{tarsources}-%{upstream_version} %patch0001 -p1 %patch0002 -p1 +%patch0003 -p1 + find . -type f -name ".*" -exec rm {} + find . -size 0 -exec rm {} + -- 1.8.3.1