anchor.diff:  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
  -BuildRequires:    systemd
  -%else
  -Requires:         chkconfig
  +%endif
  +
  +%if %{_systemd_sles}
  +%{?systemd_requires}
   %endif
   
   Requires:         pe-java
  
positive.code: %endif
  
  %postun
  %if %{_with_systemd}
  %systemd_postun_with_restart <%= EZBake::Config[:project] %>.service
  %else
  # Remove the rundir if this is an uninstall (as opposed to an upgrade)...
  if [ "$1" = "0" ]; then
      rm -rf %{_rundir}/%{name} || :
  
negative.code: <% end -%>
  
  %post
  %if %{_systemd_el}
  %systemd_post <%= EZBake::Config[:project] %>.service
  %endif
  %if %{_systemd_sles}
  %service_add_post <%= EZBake::Config[:project] %>.service
  %endif
  %if %{_with_sysvinit}
  # If this is an install (as opposed to an upgrade)...
  if [ "$1" = "1" ]; then
    # Register the <%= EZBake::Config[:project] %> service
  