Hello community, here is the log from the commit of package rubygem-hiera for openSUSE:Factory checked in at 2013-05-16 11:32:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-hiera (Old) and /work/SRC/openSUSE:Factory/.rubygem-hiera.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-hiera" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-hiera/rubygem-hiera.changes 2013-01-07 17:40:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-hiera.new/rubygem-hiera.changes 2013-05-16 11:32:55.000000000 +0200 @@ -1,0 +2,16 @@ +Fri May 3 10:20:48 UTC 2013 - [email protected] + +- updated to latest upstream version 1.2.1 + - mostly bug fixes + * (#17434) Simplify logic around looking up values + * (#17434) Simplify string interpolation + * (#17434) Stronger assertion about how keys are looked up + * Fix #19792 - cryptic error when missing deep_merge gem + * fix for Interpolate hash keys like already done for strings. + * fix for not-detecting-puppet-correctly-in-rack + - for real changelog go to: + https://github.com/puppetlabs/hiera/commits/1.2.1 + + + +------------------------------------------------------------------- Old: ---- hiera-1.1.2.gem New: ---- hiera-1.2.1.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-hiera.spec ++++++ --- /var/tmp/diff_new_pack.EgsV4k/_old 2013-05-16 11:32:56.000000000 +0200 +++ /var/tmp/diff_new_pack.EgsV4k/_new 2013-05-16 11:32:56.000000000 +0200 @@ -17,27 +17,23 @@ Name: rubygem-hiera -Version: 1.1.2 +Version: 1.2.1 Release: 0 %define mod_name hiera %define mod_full_name %{mod_name}-%{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: https://github.com/puppetlabs/hiera/ -Source0: %{mod_full_name}.gem -Source1: hiera.yaml -Source2: hiera.1 -Summary: Light weight hierarcical data store +BuildRequires: ruby-macros >= 1 +Url: https://github.com/puppetlabs/hiera +Source0: http://rubygems.org/gems/%{mod_full_name}.gem +Source1: hiera.1 +Source2: hiera.yaml +Summary: Light weight hierarchical data store License: Apache-2.0 Group: Development/Languages/Ruby -BuildRequires: fdupes -BuildRequires: ruby-devel -BuildRequires: rubygem-json_pure -BuildRequires: rubygems - -Requires: rubygem-json_pure - -%rubygems_requires +%define mod_branch -%{version} +%define mod_weight 1 +PreReq: update-alternatives %description A pluggable data store for hierarcical data @@ -67,22 +63,35 @@ %build %install -%gem_install %{SOURCE0} -install -dm0711 %{buildroot}%_localstatedir/lib/hiera -install -Dm0644 %{SOURCE1} %{buildroot}%_sysconfdir/hiera.yaml -install -dm0755 %{buildroot}%{_mandir}/man1 -install -Dm0644 %{SOURCE2} %{buildroot}%{_mandir}/man1/hiera.1 -%fdupes -s %{buildroot}%{_libdir}/ruby/gems/%{rb_ver} +%gem_install -f +install -Dm0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/hiera.1 +install -Dm0644 %{SOURCE2} %{buildroot}%_sysconfdir/hiera.yaml +mv %{buildroot}%{_bindir}/hiera{,%{mod_branch}} +ln -s hiera%{mod_branch} %{buildroot}%{_bindir}/hiera +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/COPYING %buildroot/%{_docdir}/%{name}/COPYING +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE %buildroot/%{_docdir}/%{name}/LICENSE + +%post +/usr/sbin/update-alternatives --install \ + %{_bindir}/hiera hiera %{_bindir}/hiera%{mod_branch} %{mod_weight} + +%preun +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove hiera %{_bindir}/hiera%{mod_branch} +fi %files %defattr(-,root,root,-) %config(noreplace) %_sysconfdir/hiera.yaml -%{_bindir}/hiera +%{_docdir}/%{name} +%{_bindir}/hiera%{mod_branch} +%ghost %{_bindir}/hiera %{_libdir}/ruby/gems/%{rb_ver}/cache/%{mod_full_name}.gem %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/ %exclude %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec %{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec -%_localstatedir/lib/hiera %{_mandir}/man1/hiera.1* %files doc -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
