Hello community, here is the log from the commit of package rubygem-rhc for openSUSE:Factory checked in at 2013-06-05 13:12:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rubygem-rhc (Old) and /work/SRC/openSUSE:Factory/.rubygem-rhc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-rhc" Changes: -------- --- /work/SRC/openSUSE:Factory/rubygem-rhc/rubygem-rhc.changes 2012-12-28 22:48:32.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 2013-06-05 13:12:38.000000000 +0200 @@ -1,0 +2,10 @@ +Thu May 16 10:26:33 UTC 2013 - [email protected] + +- updated to version 1.8.9 + +------------------------------------------------------------------- +Mon May 13 10:55:21 UTC 2013 - [email protected] + +- updated to version 1.7.8, no changelog + +------------------------------------------------------------------- Old: ---- rhc-1.2.7.gem New: ---- rhc-1.8.9.gem ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rubygem-rhc.spec ++++++ --- /var/tmp/diff_new_pack.xoYZWj/_old 2013-06-05 13:12:39.000000000 +0200 +++ /var/tmp/diff_new_pack.xoYZWj/_new 2013-06-05 13:12:39.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package rubygem-rhc # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: rubygem-rhc -Version: 1.2.7 +Version: 1.8.9 Release: 0 %define mod_name rhc %define mod_full_name %{mod_name}-%{version} @@ -25,10 +25,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: ruby-macros >= 1 Url: https://github.com/openshift/rhc -Source: %{mod_full_name}.gem +Source: http://rubygems.org/gems/%{mod_full_name}.gem Summary: OpenShift Client Tools License: Apache-2.0 Group: Development/Languages/Ruby +%define mod_branch -%{version} +%define mod_weight 1 +PreReq: update-alternatives # MANUAL Recommends: git Recommends: openssh @@ -63,23 +66,26 @@ %install %gem_install -f +mv %{buildroot}%{_bindir}/rhc{,%{mod_branch}} +ln -s rhc%{mod_branch} %{buildroot}%{_bindir}/rhc +mkdir -p %{buildroot}%{_docdir}/%{name} +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/LICENSE %buildroot/%{_docdir}/%{name}/LICENSE +ln -s %{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/README.md %buildroot/%{_docdir}/%{name}/README.md + +%post +/usr/sbin/update-alternatives --install \ + %{_bindir}/rhc rhc %{_bindir}/rhc%{mod_branch} %{mod_weight} + +%preun +if [ "$1" = 0 ] ; then + /usr/sbin/update-alternatives --remove rhc %{_bindir}/rhc%{mod_branch} +fi %files %defattr(-,root,root,-) -%{_bindir}/rhc-tail-files -%{_bindir}/rhc-sshkey -%{_bindir}/rhc-snapshot -%{_bindir}/rhc-chk -%{_bindir}/rhc-create-domain -%{_bindir}/rhc-ctl-app -%{_bindir}/rhc-domain-info -%{_bindir}/rhc-user-info -%{_bindir}/rhc-create-app -%{_bindir}/rhc -%{_bindir}/rhc-domain -%{_bindir}/rhc-ctl-domain -%{_bindir}/rhc-app -%{_bindir}/rhc-port-forward +%{_docdir}/%{name} +%{_bindir}/rhc%{mod_branch} +%ghost %{_bindir}/rhc %{_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 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
