anchor.diff:  BuildRoot:     %{_tmppath}/%{realname}-%{version}-%{release}-root-%(%{__id_u} -n)
   
   Summary:       Puppet Centralized Storage Daemon
  +%if 0%{?suse_version}
  +License:       Apache-2.0
  +%else
   License:       ASL 2.0
  +%endif
  +
   <% if @pe -%>
   URL:           http://puppetlabs.com/puppet/puppet-enterprise
   Source0:       %{name}-%{realversion}.tar.gz
  
positive.code: export NO_BRP_CHECK_BYTECODE_VERSION=true
  %endif
  
  rm -rf $RPM_BUILD_ROOT
  mkdir -p $RPM_BUILD_ROOT/%{_initddir}
  
  <% if @pe -%>
  PATH=/opt/puppet/bin:$PATH rake install PARAMS_FILE= DESTDIR=$RPM_BUILD_ROOT PE_BUILD=true
  
negative.code: %defattr(-, root, root)
  %doc *.md
  %doc documentation
  %if 0%{?suse_version}
  %dir %{_sysconfdir}/%{realname}
  %dir %{_sysconfdir}/%{realname}/conf.d
  %endif
  %config(noreplace)%{_sysconfdir}/%{realname}/conf.d/config.ini
  %config(noreplace)%{_sysconfdir}/%{realname}/log4j.properties
  %config(noreplace)%{_sysconfdir}/%{realname}/conf.d/database.ini
  