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: 
  %install
  rm -rf $RPM_BUILD_ROOT
  mkdir -p $RPM_BUILD_ROOT/%{ruby_sitelibdir}
  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/%{ruby_sitelibdir}
  cp -pr lib/hiera.rb $RPM_BUILD_ROOT/%{ruby_sitelibdir}
  install -p -m0755 bin/hiera $RPM_BUILD_ROOT/%{_bindir}
  install -p -m0644 ext/hiera.yaml $RPM_BUILD_ROOT/%{_sysconfdir}
  
  
negative.code: # Fedora 17 ships with ruby 1.9, which uses vendorlibdir instead
  # of sitelibdir
  %if 0%{?fedora} >= 17
  %global hiera_libdir   %(ruby -rrbconfig -e 'puts RbConfig::CONFIG["vendorlibdir"]')
  %else
  %global hiera_libdir   %(ruby -rrbconfig -e 'puts Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG["sitelibdir"]')
  %endif
  
  # VERSION is subbed out during rake srpm process
  # %global realversion <%= @version %>
  # %global rpmversion <%= @rpmversion %>
  