anchor.diff:  Conflicts:        <%=package-%> <= <%=version-%>-1
   <% end %>
   
  -BuildRequires:    pe-ruby
  +BuildRequires:    puppet-agent
   BuildRequires:    /usr/sbin/useradd
   %if %{_with_systemd}
   BuildRequires:    systemd
  
positive.code: %if %{_with_sysvinit}
  # Remove the rundir if this is an uninstall (as opposed to an upgrade)...
  if [ "$1" = "0" ]; then
      rm -rf %{_rundir}/%{name} || :
  fi
  
  # Only restart it if it is running
  
negative.code: %global realversion <%= @version %>
  %global rpmversion <%= @rpmversion %>
  
  # Application bin dir.
  %global _app_bindir /opt/puppetlabs/server/apps/<%= EZBake::Config[:real_name] %>/bin
  # Bin dir where convenience symlinks go.
  %global _sym_bindir /opt/puppetlabs/server/bin
  # Bin dir the end user adds to their PATH
  %global _ux_bindir /opt/puppetlabs/bin
  # Log directory
  %global _app_logdir /var/log/puppetlabs/<%= EZBake::Config[:real_name] %>
  # Run directory, PID files go here
  %global _app_rundir /var/run/puppetlabs/<%= EZBake::Config[:real_name] %>
  
  # Puppet Installation Layout
  # https://github.com/puppetlabs/puppet-specifications/blob/af82509/file_paths.md
  %global _app_prefix /opt/puppetlabs/server/apps/<%= EZBake::Config[:real_name] %>
  %global _app_data /opt/puppetlabs/server/data/<%= EZBake::Config[:real_name] %>
  
  %global rubylibdir        %(/opt/puppetlabs/puppet/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
  
  %global _with_systemd  0
  %global _with_sysvinit 0
  