anchor.diff:  %if 0%{?fedora} >= 17
   %global puppet_libdir     %(ruby -rrbconfig -e "puts Config::CONFIG['vendorlibdir']")
   %else
  +%if 0%{?suse_version}
  +%global puppet_libdir     %(ruby -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']")
  +%else
   %global puppet_libdir     %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
  +%endif
   %endif
   <% end -%>
   
   # These macros are not always defined on much older rpm-based systems
   %global  _sharedstatedir /var/lib
   %global  _realsysconfdir /etc
  +%if 0%{?suse_version}
  +%global  _initdir    %{_realsysconfdir}/init.d
  +%else
   %global  _initddir   %{_realsysconfdir}/rc.d/init.d
  +%endif
   %global _rundir /var/run
   
   <% if @pe -%>
  
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: 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
  