Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2013-08-04 20:42:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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  2013-06-13 
22:38:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes     
2013-08-04 23:52:42.000000000 +0200
@@ -1,0 +2,5 @@
+Wed Jul 31 05:45:55 UTC 2013 - [email protected]
+
+- updated to version 1.11.4
+
+-------------------------------------------------------------------

Old:
----
  rhc-1.9.6.gem

New:
----
  rhc-1.11.4.gem

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rubygem-rhc.spec ++++++
--- /var/tmp/diff_new_pack.NIVC9G/_old  2013-08-04 23:52:43.000000000 +0200
+++ /var/tmp/diff_new_pack.NIVC9G/_new  2013-08-04 23:52:43.000000000 +0200
@@ -17,20 +17,21 @@
 
 
 Name:           rubygem-rhc
-Version:        1.9.6
+Version:        1.11.4
 Release:        0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
+%define mod_branch -%{version}
+%define mod_weight 11104
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros >= 1
+BuildRequires:  update-alternatives
 Url:            https://github.com/openshift/rhc
 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
@@ -66,8 +67,11 @@
 
 %install
 %gem_install -f
+mkdir -p %{buildroot}%{_sysconfdir}/alternatives
 mv %{buildroot}%{_bindir}/rhc{,%{mod_branch}}
-ln -s rhc%{mod_branch} %{buildroot}%{_bindir}/rhc
+touch %{buildroot}%{_sysconfdir}/alternatives/rhc
+ln -s %{_sysconfdir}/alternatives/rhc %{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
@@ -85,7 +89,8 @@
 %defattr(-,root,root,-)
 %{_docdir}/%{name}
 %{_bindir}/rhc%{mod_branch}
-%ghost %{_bindir}/rhc
+%{_bindir}/rhc
+%ghost %{_sysconfdir}/alternatives/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]

Reply via email to