anchor.diff:  
   %files
   %defattr(-, root, root)
  -%dir %attr(0700, <%= EZBake::Config[:user] %>, <%= EZBake::Config[:group] %>) %{_localstatedir}/log/%{name}
  +%dir %attr(0700, <%= EZBake::Config[:user] %>, <%= EZBake::Config[:group] %>) %{_app_logdir}
   <% if EZBake::Config[:create_varlib] -%>
   %dir %attr(0700, <%= EZBake::Config[:user] %>, <%= EZBake::Config[:group] %>) %{_localstatedir}/lib/%{name}
   <% end -%>
  -<% EZBake::Config[:create_dirs].each do |dir| -%>
  -%dir %attr(0700, <%= EZBake::Config[:user] %>, <%= EZBake::Config[:group] %>) <%= dir %>
  -<% end -%>
  -<% if File.exists?("ext/docs") %>
  +<% if File.exists?("ext/docs") -%>
   %doc ext/docs
  -<% end %>
  -%{_datadir}/%{realname}
  +<% end -%>
  +%{_app_prefix}
   %if %{_with_systemd}
   %{_unitdir}/%{name}.service
   %else
   %{_initrddir}/%{name}
   %endif
   %config(noreplace) %{_sysconfdir}/puppetlabs/%{realname}
  -%config(noreplace) %{_real_sysconfdir}/sysconfig/%{name}
  -%config(noreplace) %{_real_sysconfdir}/logrotate.d/%{name}
  +%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
  +%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
   <% if ! EZBake::Config[:cli_app_files].empty? -%>
  -%{_bindir}/<%= EZBake::Config[:real_name] %>
  +%{_app_bindir}/<%= EZBake::Config[:real_name] %>
  +%{_sym_bindir}/<%= EZBake::Config[:real_name] %>
  +%{_ux_bindir}/<%= EZBake::Config[:real_name] %>
   <% end -%>
   <% EZBake::Config[:bin_files].each do |bin_file| -%>
  -%{_bindir}/<%= bin_file.sub(%r{^ext/bin/}, "") %>
  -<% end -%>
  -%ghost %attr(0755, root, root) %{_rundir}/%{name}
  +%{_app_bindir}/<%= bin_file.sub(%r{^ext/bin/}, "") %>
  +<% end -%>
  +%dir %attr(0775, <%= EZBake::Config[:user] %>, <%= EZBake::Config[:group] %>) %{_app_data}
  +%ghost %attr(0755, <%= EZBake::Config[:user] %>, <%= EZBake::Config[:group] %>) %{_app_rundir}
   
   <% unless EZBake::Config[:terminus_info].empty? -%>
   %files termini
  
positive.code: Conflicts:        <%=package-%> <= <%=version-%>-1
  <% end %>
  
  BuildRequires:    pe-ruby
  BuildRequires:    /usr/sbin/useradd
  %if %{_with_systemd}
  BuildRequires:    systemd
  
negative.code: 
  rm -rf $RPM_BUILD_ROOT
  
  env EZ_VERBOSE=1 DESTDIR=%{buildroot} prefix=%{_prefix} app_prefix=%{_app_prefix} app_data=%{_app_data} confdir=%{_sysconfdir} bindir=%{_app_bindir} symbindir=%{_sym_bindir} rundir=%{_app_rundir} localstatedir=%{_localstatedir} rubylibdir=%{rubylibdir} bash install.sh install_redhat
  %if %{_with_systemd}
  env EZ_VERBOSE=1 DESTDIR=%{buildroot} prefix=%{_prefix} app_prefix=%{_app_prefix} app_data=%{_app_data} confdir=%{_sysconfdir} bindir=%{_app_bindir} symbindir=%{_sym_bindir} rundir=%{_app_rundir} defaultsdir=%{_sysconfdir}/sysconfig unitdir=%{_unitdir} bash install.sh systemd_redhat
  %else
  %if %{_old_el}
  env EZ_VERBOSE=1 DESTDIR=%{buildroot} prefix=%{_prefix} app_prefix=%{_app_prefix} app_data=%{_app_data} confdir=%{_sysconfdir} bindir=%{_app_bindir} symbindir=%{_sym_bindir} rundir=%{_app_rundir} defaultsdir=%{_sysconfdir}/sysconfig initdir=%{_initrddir} bash install.sh sysv_init_redhat
  %elseif %{_old_sles}
  env EZ_VERBOSE=1 DESTDIR=%{buildroot} prefix=%{_prefix} app_prefix=%{_app_prefix} app_data=%{_app_data} confdir=%{_sysconfdir} bindir=%{_app_bindir} symbindir=%{_sym_bindir} rundir=%{_app_rundir} defaultsdir=%{_sysconfdir}/sysconfig initdir=%{_initrddir} bash install.sh sysv_init_suse
  %endif
  %endif
  
  %if 0%{?fedora} >= 16 || 0%{?rhel} >= 7 || 0%{?suse_version} >= 1315
  env EZ_VERBOSE=1 DESTDIR=%{buildroot} confdir=%{_sysconfdir} bash install.sh logrotate
  %else
  env EZ_VERBOSE=1 DESTDIR=%{buildroot} confdir=%{_sysconfdir} bash install.sh logrotate_legacy
  %endif
  
  <% unless EZBake::Config[:terminus_info].empty? -%>
  