anchor.diff:  BuildRequires: sles-release
   Requires:      aaa_base
   Requires:      pwdutils
  +Requires:      logrotate
  +BuildRequires: java-devel
  +Requires:      java
   %else
   BuildRequires: /usr/sbin/useradd
   Requires:      chkconfig
  -%endif
   BuildRequires: %{open_jdk}
   Requires:      %{open_jdk}
  +%endif
   
   %description
   Puppet Centralized Storage.
   
   %package terminus
   Summary: Puppet terminus files to connect to PuppetDB
  +%if 0%{?suse_version}
  +Group: System/Libraries
  +%else
   Group: Development/Libraries
  +%endif
   <% if @pe -%>
   Requires: pe-puppet >= 2.7.12
   <% else -%>
  
positive.code: %defattr(-, root, root)
  %doc *.md
  %doc documentation
  %config(noreplace)%{_sysconfdir}/%{realname}/conf.d/config.ini
  %config(noreplace)%{_sysconfdir}/%{realname}/log4j.properties
  %config(noreplace)%{_sysconfdir}/%{realname}/conf.d/database.ini
  
negative.code: export NO_BRP_CHECK_BYTECODE_VERSION=true
  %endif
  
  %if 0%{?suse_version}
  mkdir -p %{buildroot}/%{_initddir}
  %else
  rm -rf $RPM_BUILD_ROOT
  mkdir -p $RPM_BUILD_ROOT/%{_initddir}
  %endif
  
  <% if @pe -%>
  PATH=/opt/puppet/bin:$PATH rake install PARAMS_FILE= DESTDIR=$RPM_BUILD_ROOT PE_BUILD=true
  