Commit c0abb899 authored by mh's avatar mh
Browse files

make sure we patch the ip gem

parent 2783ebda
%if 0%{?_version:1}
%define _verstr %{_version}
%define _verstr 0.0.9
%define _verstr 0.0.10
# puppetserver still runs a ruby 1.9.3 kind JRuby
......@@ -26,6 +26,7 @@ Release: 1
Summary: Extension for the puppet-agent or puppetserver.
License: GPLv3
Source0: puppetserver.conf
BuildRequires: puppet-agent >= 5.0
BuildRequires: puppetserver >= 5.0
......@@ -99,6 +100,12 @@ export CONFIG=./server_config
clojure.main -m puppetlabs.puppetserver.cli.gem \
--config ./server_config -- install --lock --install-dir ./server_gems --no-ri --no-rdoc -N %{version_gems2}
cd ./agent_gems/gems/ip-*
patch -p1 < %{PATCH0}
cd ../../../
cd ./server_gems/gems/ip-*
patch -p1 < %{PATCH0}
mkdir -p %{buildroot}%{agentgemdir}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment