anchor.diff:  %files
   %defattr(-,root,root,-)
   %{_bindir}/hiera
  -%{ruby_sitelibdir}/hiera.rb
  -%{ruby_sitelibdir}/hiera
  +%{hiera_libdir}/hiera.rb
  +%{hiera_libdir}/hiera
   %{_sysconfdir}/hiera.yaml
   %{_sharedstatedir}/hiera
   %doc CHANGELOG COPYING README.md
  
positive.code: %{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG["sitelibdir"]')}
  
  %global _ver 1.0.0
  %global confdir ext/redhat
  %global initrddir /etc/rc.d/init.d
  # VERSION is subbed out during rake srpm process
  # %global realversion <%= @version %>
  # %global rpmversion <%= @rpmversion %>
  
negative.code: 
  %install
  rm -rf $RPM_BUILD_ROOT
  mkdir -p $RPM_BUILD_ROOT/%{hiera_libdir}
  mkdir -p $RPM_BUILD_ROOT/%{_bindir}
  mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}
  mkdir -p $RPM_BUILD_ROOT/%{_sharedstatedir}/hiera
  cp -pr lib/hiera $RPM_BUILD_ROOT/%{hiera_libdir}
  cp -pr lib/hiera.rb $RPM_BUILD_ROOT/%{hiera_libdir}
  install -p -m0755 bin/hiera $RPM_BUILD_ROOT/%{_bindir}
  install -p -m0644 ext/hiera.yaml $RPM_BUILD_ROOT/%{_sysconfdir}
  
  