anchor.diff:  %endif
   
   %postun
  -%if %{_with_systemd}
  +%if %{_systemd_el}
   %systemd_postun_with_restart <%= EZBake::Config[:project] %>.service
  -%else
  +%endif
  +%if %{_systemd_sles}
  +%service_del_postun <%= EZBake::Config[:project] %>.service
  +%endif
  +%if %{_with_sysvinit}
   # Remove the rundir if this is an uninstall (as opposed to an upgrade)...
   if [ "$1" = "0" ]; then
       rm -rf %{_rundir}/%{name} || :
  
positive.code: %global puppet_libdir     %(/opt/puppet/bin/ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
  %global p_vendor          pe
  
  %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7
  %global _with_systemd 1
  %else
  %global _with_systemd 0
  %endif
  
  %if 0%{?p_vendor:1}
  
negative.code: BuildRequires:    pe-ruby
  BuildRequires:    /usr/sbin/useradd
  %if %{_with_systemd}
  BuildRequires:    systemd
  %endif
  %if %{_old_el}
  Requires:         chkconfig
  %endif
  %if %{_old_sles}
  Requires:         aaa_base
  %endif
  
  %if %{_systemd_el}
  Requires(post):   systemd
  Requires(preun):  systemd
  Requires(postun): systemd
  %endif
  
  %if %{_systemd_sles}
  %{?systemd_requires}
  %endif
  
  Requires:         pe-java
  