commit rubygem-rhc for openSUSE:Factory

2016-10-25 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2016-10-25 17:43:31

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  2015-04-18 
10:38:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2016-10-25 17:43:32.0 +0200
@@ -1,0 +2,30 @@
+Wed Aug  3 04:35:26 UTC 2016 - co...@suse.com
+
+- updated to version 1.38.7
+  no changelog found
+
+---
+Thu Nov  5 05:31:18 UTC 2015 - co...@suse.com
+
+- updated to version 1.38.4
+  no changelog found
+
+---
+Fri Sep 11 04:30:07 UTC 2015 - co...@suse.com
+
+- updated to version 1.37.1
+  no changelog found
+
+---
+Wed Jul  8 04:31:16 UTC 2015 - co...@suse.com
+
+- updated to version 1.36.4
+  no changelog found
+
+---
+Fri Jun 12 04:33:41 UTC 2015 - co...@suse.com
+
+- updated to version 1.35.4
+  no changelog found
+
+---

Old:

  rhc-1.35.3.gem

New:

  rhc-1.38.7.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.IGXcZ6/_old  2016-10-25 17:43:33.0 +0200
+++ /var/tmp/diff_new_pack.IGXcZ6/_new  2016-10-25 17:43:33.0 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rhc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
 #
 
 Name:   rubygem-rhc
-Version:1.35.3
+Version:1.38.7
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}

++ rhc-1.35.3.gem -> rhc-1.38.7.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md   1970-01-01 01:00:00.0 +0100
+++ new/README.md   1970-01-01 01:00:00.0 +0100
@@ -10,6 +10,10 @@
 or the OpenShift support page
 https://openshift.redhat.com/support.
 
+RHC from rubygems.org is built on Ruby 1.8.7.  RHC does have conditional 
+dependencies during build time, so it can be built on multiple versions of 
Ruby.  
+If you are running into any dependency issues when using RHC, please try to 
+build RHC locally using `gem build rhc.gemspec` to use the correct 
dependencies.
 
 ## Using RHC to create an application
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/features/app_feature.rb new/features/app_feature.rb
--- old/features/app_feature.rb 1970-01-01 01:00:00.0 +0100
+++ new/features/app_feature.rb 1970-01-01 01:00:00.0 +0100
@@ -11,6 +11,18 @@
 let(:app){ @app }
 
 it "should clone successfully" do
+  # The following works around an issue with strict host key checking.
+  # create-app --from-app uses SSH to copy the application.  However,
+  # this test uses a new application, so without this workaround, 
create-app
+  # --from-app will be trying to log into the application for the first
+  # time, and so SSH will not recognize the host key and will prompt for
+  # confirmation, causing the test to hang and eventually time out.  To 
work
+  # around the problem, we tell rhc to initiate an SSH connection using
+  # GIT_SSH (which disables strict host key checking), which will cause SSH
+  # to add the host to ~/.ssh/known_hosts, which will allow the subsequent
+  # create-app --from-app command to succeed.
+  rhc 'ssh', '--ssh', ENV['GIT_SSH'], app.name, '--', 'true'
+
   app_name = "clone#{random}"
   r = rhc 'create-app', app_name, '--from-app', app.name
   r.stdout.should match /Domain:\s+#{app.domain}/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rhc/commands/app.rb new/lib/rhc/commands/app.rb
--- old/lib/rhc/commands/app.rb 1970-01-01 01:00:00.0 +0100
+++ new/lib/rhc/commands/app.rb 1970-01-01 01:00:00.0 +0100
@@ -101,6 +101,12 @@
   end.join(', ')
 
   env = collect_env_vars(arg_envs.concat(Array(options.env)))
+  if options.env && env.empty?
+raise RHC::EnvironmentVariableNotProvidedException.new(
+"Environment 

commit rubygem-rhc for openSUSE:Factory

2015-04-18 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2015-04-18 10:38:53

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  2015-01-29 
09:56:01.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2015-04-18 10:38:55.0 +0200
@@ -1,0 +2,10 @@
+Tue Apr 14 04:30:43 UTC 2015 - co...@suse.com
+
+- updated to version 1.35.3
+
+---
+Fri Mar  6 18:03:42 UTC 2015 - co...@suse.com
+
+- updated to version 1.35.1
+
+---

Old:

  rhc-1.34.2.gem

New:

  gem2rpm.yml
  rhc-1.35.3.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.AaoPIg/_old  2015-04-18 10:38:55.0 +0200
+++ /var/tmp/diff_new_pack.AaoPIg/_new  2015-04-18 10:38:55.0 +0200
@@ -16,8 +16,15 @@
 #
 
 
+#
+# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
+# All sections marked as MANUAL, license headers, summaries and descriptions
+# can be maintained in that file. Please consult this file before editing any
+# of those fields
+#
+
 Name:   rubygem-rhc
-Version:1.34.2
+Version:1.35.3
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
@@ -28,13 +35,11 @@
 BuildRequires:  update-alternatives
 Url:https://github.com/openshift/rhc
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1:gem2rpm.yml
 Summary:OpenShift Client Tools
 License:Apache-2.0
 Group:  Development/Languages/Ruby
 PreReq: update-alternatives
-# MANUAL
-Recommends: git
-Recommends: openssh
 
 %description
 The client tools for the OpenShift platform that allow for application

++ gem2rpm.yml ++
# ---
# ## used by gem2rpm
# :summary: this is a custom summary
# ## used by gem2rpm
# :description: |-
#   this is a custom description
#
#   it can be multiline
# ## used by gem2rpm
# :license: MIT or Ruby
# ## used by gem2rpm and gem_packages
# :version_suffix: -x_y
# ## used by gem2rpm and gem_packages
# :disable_docs: true
# ## used by gem2rpm
# :disable_automatic_rdoc_dep: true
# ## used by gem2rpm
# :preamble: |-
#   BuildRequires: foobar
#   Requires: foobar
# ## used by gem2rpm
# :patches:
#   foo.patch: -p1
#   bar.patch: 
# ## used by gem2rpm
:sources:
# - foo.desktop
# - bar.desktop
# :gem_install_args: ''
# ## used by gem2rpm
# :pre_install: |-
#   %if 0%{?use_system_libev}
#   export USE_VENDORED_LIBEV=no
#   %endif
# ## used by gem2rpm
# :post_install: |-
#   # delete custom files here or do other fancy stuff
#   install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse
# ## used by gem2rpm
# :testsuite_command: |-
#   (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name}  rake test)
# ## used by gem2rpm
# :filelist: |-
#   /usr/bin/gem2rpm-opensuse
# ## used by gem2rpm
# :scripts:
#   :post: |-
# /bin/echo foo
# ## used by gem_packages
:main:
  :preamble: |-
 Recommends: git
 Recommends: openssh
#   :filelist: |-
# /usr/bin/gem2rpm-opensuse
# ## used by gem_packages
# :custom:
#   apache:
# :preamble: |-
#   Requires: .
# :filelist: |-
#   /etc/apache2/conf.d/passenger.conf
# :summary: Custom summary is optional
# :description: |-
#   Custom description is optional
#
#   bar
# :post: |-
#   /bin/echo foo
#
++ rhc-1.34.2.gem - rhc-1.35.3.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rhc/config.rb new/lib/rhc/config.rb
--- old/lib/rhc/config.rb   1970-01-01 01:00:00.0 +0100
+++ new/lib/rhc/config.rb   1970-01-01 01:00:00.0 +0100
@@ -61,8 +61,9 @@
   :insecure = [nil,   :boolean,  If 
true, certificate errors will be ignored.\nWARNING: This may allow others to 
eavesdrop on your communication with OpenShift.],
   :ssl_version  = [nil,   nil,   'The SSL 
protocol version to use when connecting to this server'],
   :ssl_client_cert_file = [nil,   :path_to_file, 'A 
client certificate file for use with your server'],
-  :ssl_client_key_file  = [nil, :path_to_file, 'The corresponding key 
for the client certificate'],
+  :ssl_client_key_file  = [nil,   :path_to_file, 'The 
corresponding key for the client certificate'],
   :ssl_ca_file  = [nil,   

commit rubygem-rhc for openSUSE:Factory

2015-01-29 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2015-01-29 09:55:59

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  2014-12-10 
23:44:51.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2015-01-29 09:56:01.0 +0100
@@ -1,0 +2,5 @@
+Tue Jan 27 07:49:15 UTC 2015 - dmitr...@opensuse.org
+
+- updated to version 1.34.2
+
+---

Old:

  rhc-1.33.4.gem

New:

  rhc-1.34.2.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.OBRD3m/_old  2015-01-29 09:56:02.0 +0100
+++ /var/tmp/diff_new_pack.OBRD3m/_new  2015-01-29 09:56:02.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rhc
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX 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.33.4
+Version:1.34.2
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}

++ rhc-1.33.4.gem - rhc-1.34.2.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rhc/commands/ssh.rb new/lib/rhc/commands/ssh.rb
--- old/lib/rhc/commands/ssh.rb 1970-01-01 01:00:00.0 +0100
+++ new/lib/rhc/commands/ssh.rb 1970-01-01 01:00:00.0 +0100
@@ -15,6 +15,10 @@
 
   You may run a specific SSH command by passing one or more arguments, or 
use a
   different SSH executable or pass options to SSH with the '--ssh' option.
+
+  To use the '--ssh' flag with an SSH executable path containing a space, 
wrap
+  the executable path with double quotes:
+  --ssh 'C:\\path with spaces\\ssh'
   DESC
 syntax [--ssh path_to_ssh_executable] [--gears] [app --] command
 takes_application :argument = true
@@ -42,16 +46,7 @@
 command_line = [RHC::Helpers.split_path(ssh), ('-vv' if debug?), 
rest_app.ssh_string.to_s, command].flatten.compact
 
 debug Invoking Kernel.exec with #{command_line.inspect}
-begin
-  Kernel.send(:exec, *command_line)
-rescue Errno::ENOENT
-  debug SSH executable #{ssh.inspect} not found, splitting and trying 
again...
-
-  command_line = [ssh.chomp('').reverse.chomp('').reverse.split(' 
'), ('-vv' if debug?), rest_app.ssh_string.to_s, command].flatten.compact
-  debug Invoking Kernel.exec with #{command_line.inspect}
-
-  Kernel.send(:exec, *command_line)
-end
+Kernel.send(:exec, *command_line)
   end
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rhc/ssh_helpers.rb new/lib/rhc/ssh_helpers.rb
--- old/lib/rhc/ssh_helpers.rb  1970-01-01 01:00:00.0 +0100
+++ new/lib/rhc/ssh_helpers.rb  1970-01-01 01:00:00.0 +0100
@@ -475,10 +475,10 @@
   raise RHC::InvalidSSHExecutableException.new(No system SSH 
available. Please use the --ssh option to specify the path to your SSH 
executable, or install SSH.#{windows? ? ' We recommend this free application: 
Git for Windows - a basic git command line and GUI client 
http://msysgit.github.io/.' : ''}) unless ssh_cmd or has_ssh?
 end
   else
-bin_path = path.split(' ').first
+bin_path = split_path(path)[0]
 raise RHC::InvalidSSHExecutableException.new(SSH executable 
'#{bin_path}' does not exist.) unless File.exist?(bin_path) or 
File.exist?(path) or exe?(bin_path)
 raise RHC::InvalidSSHExecutableException.new(SSH executable 
'#{bin_path}' is not executable.) unless File.executable?(path) or 
File.executable?(bin_path) or exe?(bin_path)
-path =~ / / ? '' + path + '' : path
+path
   end
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata1970-01-01 01:00:00.0 +0100
+++ new/metadata1970-01-01 01:00:00.0 +0100
@@ -5,9 +5,9 @@
   prerelease: 
   segments: 
   - 1
-  - 33
-  - 4
-  version: 1.33.4
+  - 34
+  - 2
+  version: 1.34.2
 platform: ruby
 authors: 
 - Red Hat
@@ -15,7 +15,7 @@
 bindir: bin
 cert_chain: []
 
-date: 2014-12-04 00:00:00 Z
+date: 2015-01-17 00:00:00 Z
 dependencies: 
 - !ruby/object:Gem::Dependency 
   name: net-ssh
diff 

commit rubygem-rhc for openSUSE:Factory

2014-12-10 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2014-12-10 23:45:01

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  2014-12-06 
13:47:06.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2014-12-10 23:44:51.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec  9 07:19:26 UTC 2014 - dmitr...@opensuse.org
+
+- updated to version 1.33.4
+
+---

Old:

  rhc-1.32.2.gem

New:

  rhc-1.33.4.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.ZUXozY/_old  2014-12-10 23:44:53.0 +0100
+++ /var/tmp/diff_new_pack.ZUXozY/_new  2014-12-10 23:44:53.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-rhc
-Version:1.32.2
+Version:1.33.4
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}

++ rhc-1.32.2.gem - rhc-1.33.4.gem ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rhc/commands/port_forward.rb 
new/lib/rhc/commands/port_forward.rb
--- old/lib/rhc/commands/port_forward.rb1970-01-01 01:00:00.0 
+0100
+++ new/lib/rhc/commands/port_forward.rb1970-01-01 01:00:00.0 
+0100
@@ -131,7 +131,7 @@
 debug args.inspect
 ssh.forward.local(*args)
 fs.bound = true
-  rescue Errno::EADDRINUSE, Errno::EACCES = e
+  rescue Errno::EADDRINUSE, Errno::EACCES, Errno::EPERM = e
 warn #{e} while forwarding port #{fs.port_from}. Trying 
local port #{fs.port_from+1}
 fs.port_from += 1
   rescue Timeout::Error, Errno::EADDRNOTAVAIL, 
Errno::EHOSTUNREACH, Errno::ECONNREFUSED, Net::SSH::AuthenticationFailed = e
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rhc/commands/ssh.rb new/lib/rhc/commands/ssh.rb
--- old/lib/rhc/commands/ssh.rb 1970-01-01 01:00:00.0 +0100
+++ new/lib/rhc/commands/ssh.rb 1970-01-01 01:00:00.0 +0100
@@ -39,10 +39,19 @@
 
 debug Using user specified SSH: #{options.ssh} if options.ssh
 
-command_line = [RHC::Helpers.split_path(ssh), ('-vvv' if debug?), 
rest_app.ssh_string.to_s, command].flatten.compact
+command_line = [RHC::Helpers.split_path(ssh), ('-vv' if debug?), 
rest_app.ssh_string.to_s, command].flatten.compact
 
 debug Invoking Kernel.exec with #{command_line.inspect}
-Kernel.send(:exec, *command_line)
+begin
+  Kernel.send(:exec, *command_line)
+rescue Errno::ENOENT
+  debug SSH executable #{ssh.inspect} not found, splitting and trying 
again...
+
+  command_line = [ssh.chomp('').reverse.chomp('').reverse.split(' 
'), ('-vv' if debug?), rest_app.ssh_string.to_s, command].flatten.compact
+  debug Invoking Kernel.exec with #{command_line.inspect}
+
+  Kernel.send(:exec, *command_line)
+end
   end
 end
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lib/rhc/ssh_helpers.rb new/lib/rhc/ssh_helpers.rb
--- old/lib/rhc/ssh_helpers.rb  1970-01-01 01:00:00.0 +0100
+++ new/lib/rhc/ssh_helpers.rb  1970-01-01 01:00:00.0 +0100
@@ -268,7 +268,7 @@
 else
   Net::SSH.start(ssh_uri.host, ssh_uri.user) do |ssh|
 File.open(filename, 'wb') do |file|
-  ssh.exec! snapshot do |channel, stream, data|
+  ssh.exec! snapshot_cmd do |channel, stream, data|
 if stream == :stdout
   file.write(data)
 else
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata1970-01-01 01:00:00.0 +0100
+++ new/metadata1970-01-01 01:00:00.0 +0100
@@ -1,13 +1,13 @@
 --- !ruby/object:Gem::Specification 
 name: rhc
 version: !ruby/object:Gem::Version 
-  hash: 147
+  hash: 155
   prerelease: 
   segments: 
   - 1
-  - 32
-  - 2
-  version: 1.32.2
+  - 33
+  - 4
+  version: 1.33.4
 platform: ruby
 authors: 
 - Red Hat
@@ -15,7 +15,7 @@
 bindir: bin
 cert_chain: []
 
-date: 2014-11-13 00:00:00 Z
+date: 2014-12-04 00:00:00 Z
 dependencies: 
 - !ruby/object:Gem::Dependency 
   name: net-ssh
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/spec/rhc/commands/port_forward_spec.rb 

commit rubygem-rhc for openSUSE:Factory

2014-12-06 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2014-12-06 13:47:17

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  2014-05-21 
16:30:13.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2014-12-06 13:47:06.0 +0100
@@ -1,0 +2,5 @@
+Tue Dec  2 09:19:50 UTC 2014 - dmitr...@opensuse.org
+
+- updated to version 1.32.2
+
+---

Old:

  rhc-1.24.4.gem

New:

  rhc-1.32.2.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.3oMV7s/_old  2014-12-06 13:47:07.0 +0100
+++ /var/tmp/diff_new_pack.3oMV7s/_new  2014-12-06 13:47:07.0 +0100
@@ -17,15 +17,14 @@
 
 
 Name:   rubygem-rhc
-Version:1.24.4
+Version:1.32.2
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
-%define mod_branch -%{version}
-%define mod_weight 12404
-
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 3
+BuildRequires:  %{rubygem gem2rpm}
+BuildRequires:  %{ruby}
+BuildRequires:  ruby-macros = 5
 BuildRequires:  update-alternatives
 Url:https://github.com/openshift/rhc
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
@@ -41,67 +40,16 @@
 The client tools for the OpenShift platform that allow for application
 management.
 
-%package doc
-Summary:RDoc documentation for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description doc
-Documentation generated at gem installation time.
-Usually in RDoc and RI formats.
-
-%package testsuite
-Summary:Test suite for %{mod_name}
-Group:  Development/Languages/Ruby
-Requires:   %{name} = %{version}
-
-%description testsuite
-Test::Unit or RSpec files, useful for developers.
-
 %prep
-#gem_unpack
-#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
-#gem_build
 
 %build
 
 %install
-%gem_install -f
-mkdir -p %{buildroot}%{_sysconfdir}/alternatives
-mv %{buildroot}%{_bindir}/rhc{,%{mod_branch}}
-touch %{buildroot}%{_sysconfdir}/alternatives/rhc
-ln -s %{_sysconfdir}/alternatives/rhc %{buildroot}%{_bindir}/rhc
-
-mkdir -p %{buildroot}%{_docdir}/%{name}
-ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
-ln -s %{gem_base}/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,-)
-%{_docdir}/%{name}
-%{_bindir}/rhc%{mod_branch}
-%{_bindir}/rhc
-%ghost %{_sysconfdir}/alternatives/rhc
-%{gem_base}/cache/%{mod_full_name}.gem
-%{gem_base}/gems/%{mod_full_name}/
-%exclude %{gem_base}/gems/%{mod_full_name}/spec
-%{gem_base}/specifications/%{mod_full_name}.gemspec
-
-%files doc
-%defattr(-,root,root,-)
-%doc %{gem_base}/doc
-
-%files testsuite
-%defattr(-,root,root,-)
-%{gem_base}/gems/%{mod_full_name}/spec
+%gem_install \
+  --symlink-binaries \
+  --doc-files=LICENSE README.md \
+  -f
+
+%gem_packages
 
 %changelog

++ rhc-1.24.4.gem - rhc-1.32.2.gem ++
 6024 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2014-05-21 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2014-05-21 16:30:11

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  2014-03-21 
13:48:58.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2014-05-21 16:30:13.0 +0200
@@ -1,0 +2,5 @@
+Sun May 18 09:04:46 UTC 2014 - co...@suse.com
+
+- updated to version 1.24.4
+
+---

Old:

  rhc-1.21.3.gem

New:

  rhc-1.24.4.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.cwUXSu/_old  2014-05-21 16:30:16.0 +0200
+++ /var/tmp/diff_new_pack.cwUXSu/_new  2014-05-21 16:30:16.0 +0200
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-rhc
-Version:1.21.3
+Version:1.24.4
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 12103
+%define mod_weight 12404
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2014-03-21 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2014-03-21 13:48:57

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  2014-02-12 
21:51:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2014-03-21 13:48:58.0 +0100
@@ -1,0 +2,5 @@
+Tue Mar 18 14:57:17 UTC 2014 - co...@suse.com
+
+- updated to version 1.21.3
+
+---

Old:

  rhc-1.19.5.gem

New:

  rhc-1.21.3.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.RmSA8c/_old  2014-03-21 13:48:59.0 +0100
+++ /var/tmp/diff_new_pack.RmSA8c/_new  2014-03-21 13:48:59.0 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-rhc
-Version:1.19.5
+Version:1.21.3
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 11905
+%define mod_weight 12103
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 3

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2014-02-12 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2014-02-12 21:51:49

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-11-24 
18:13:15.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2014-02-12 21:51:50.0 +0100
@@ -1,0 +2,15 @@
+Thu Feb  6 18:00:19 UTC 2014 - co...@suse.com
+
+- updated to version 1.19.5
+
+---
+Thu Dec 12 10:19:37 UTC 2013 - co...@suse.com
+
+- updated to version 1.18.2
+
+---
+Wed Dec  4 11:31:22 UTC 2013 - co...@suse.com
+
+- updated to version 1.17.6
+
+---

Old:

  rhc-1.16.9.gem

New:

  rhc-1.19.5.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.LV6CuM/_old  2014-02-12 21:51:51.0 +0100
+++ /var/tmp/diff_new_pack.LV6CuM/_new  2014-02-12 21:51:51.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rubygem-rhc
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 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,15 +17,15 @@
 
 
 Name:   rubygem-rhc
-Version:1.16.9
+Version:1.19.5
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 11609
+%define mod_weight 11905
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  ruby-macros = 1
+BuildRequires:  ruby-macros = 3
 BuildRequires:  update-alternatives
 Url:https://github.com/openshift/rhc
 Source: http://rubygems.org/gems/%{mod_full_name}.gem
@@ -73,8 +73,8 @@
 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
+ln -s %{gem_base}/gems/%{mod_full_name}/LICENSE 
%buildroot/%{_docdir}/%{name}/LICENSE
+ln -s %{gem_base}/gems/%{mod_full_name}/README.md 
%buildroot/%{_docdir}/%{name}/README.md
 
 %post
 /usr/sbin/update-alternatives --install \
@@ -91,17 +91,17 @@
 %{_bindir}/rhc%{mod_branch}
 %{_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
-%{_libdir}/ruby/gems/%{rb_ver}/specifications/%{mod_full_name}.gemspec
+%{gem_base}/cache/%{mod_full_name}.gem
+%{gem_base}/gems/%{mod_full_name}/
+%exclude %{gem_base}/gems/%{mod_full_name}/spec
+%{gem_base}/specifications/%{mod_full_name}.gemspec
 
 %files doc
 %defattr(-,root,root,-)
-%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/
+%doc %{gem_base}/doc
 
 %files testsuite
 %defattr(-,root,root,-)
-%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec
+%{gem_base}/gems/%{mod_full_name}/spec
 
 %changelog

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2013-11-24 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2013-11-24 18:13:14

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-11-07 
09:00:16.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2013-11-24 18:13:15.0 +0100
@@ -1,0 +2,5 @@
+Fri Nov 22 08:40:33 UTC 2013 - co...@suse.com
+
+- updated to version 1.16.9
+
+---

Old:

  rhc-1.15.6.gem

New:

  rhc-1.16.9.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.sKsGck/_old  2013-11-24 18:13:15.0 +0100
+++ /var/tmp/diff_new_pack.sKsGck/_new  2013-11-24 18:13:15.0 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-rhc
-Version:1.15.6
+Version:1.16.9
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 11506
+%define mod_weight 11609
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2013-11-07 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2013-11-07 09:00:14

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-10-06 
18:39:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2013-11-07 09:00:16.0 +0100
@@ -1,0 +2,5 @@
+Fri Nov  1 06:07:23 UTC 2013 - co...@suse.com
+
+- updated to version 1.15.6
+
+---

Old:

  rhc-1.14.7.gem

New:

  rhc-1.15.6.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.eeXnXC/_old  2013-11-07 09:00:16.0 +0100
+++ /var/tmp/diff_new_pack.eeXnXC/_new  2013-11-07 09:00:16.0 +0100
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-rhc
-Version:1.14.7
+Version:1.15.6
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 11204
+%define mod_weight 11506
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2013-10-06 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2013-10-06 18:39:38

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-08-04 
23:52:42.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2013-10-06 18:39:40.0 +0200
@@ -1,0 +2,15 @@
+Fri Oct  4 19:21:11 UTC 2013 - co...@suse.com
+
+- updated to version 1.14.7, no changelog
+
+---
+Fri Aug 30 10:00:33 UTC 2013 - co...@suse.com
+
+- updated to version 1.13.6, no changelog
+
+---
+Mon Aug 26 05:05:53 UTC 2013 - co...@suse.com
+
+- updated to version 1.12.4, no changelog
+
+---

Old:

  rhc-1.11.4.gem

New:

  rhc-1.14.7.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.ZsjNVD/_old  2013-10-06 18:39:41.0 +0200
+++ /var/tmp/diff_new_pack.ZsjNVD/_new  2013-10-06 18:39:41.0 +0200
@@ -17,12 +17,12 @@
 
 
 Name:   rubygem-rhc
-Version:1.11.4
+Version:1.14.7
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}
 %define mod_branch -%{version}
-%define mod_weight 11104
+%define mod_weight 11204
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  ruby-macros = 1

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2013-08-04 Thread h_root
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.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2013-08-04 23:52:42.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul 31 05:45:55 UTC 2013 - co...@suse.com
+
+- 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.0 +0200
+++ /var/tmp/diff_new_pack.NIVC9G/_new  2013-08-04 23:52:43.0 +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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2013-06-13 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2013-06-13 22:38:49

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-05 
13:12:38.0 +0200
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2013-06-13 22:38:51.0 +0200
@@ -1,0 +2,5 @@
+Thu Jun  6 05:24:17 UTC 2013 - co...@suse.com
+
+- updated to version 1.9.6, no changelog
+
+---

Old:

  rhc-1.8.9.gem

New:

  rhc-1.9.6.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.j0NceP/_old  2013-06-13 22:38:52.0 +0200
+++ /var/tmp/diff_new_pack.j0NceP/_new  2013-06-13 22:38:52.0 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-rhc
-Version:1.8.9
+Version:1.9.6
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2013-06-05 Thread h_root
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.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2013-06-05 13:12:38.0 +0200
@@ -1,0 +2,10 @@
+Thu May 16 10:26:33 UTC 2013 - co...@suse.com
+
+- updated to version 1.8.9
+
+---
+Mon May 13 10:55:21 UTC 2013 - co...@suse.com
+
+- 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.0 +0200
+++ /var/tmp/diff_new_pack.xoYZWj/_new  2013-06-05 13:12:39.0 +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: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2012-12-28 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2012-12-28 22:48:28

Comparing /work/SRC/openSUSE:Factory/rubygem-rhc (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rhc.new (New)


Package is rubygem-rhc, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/rubygem-rhc/rubygem-rhc.changes  2012-12-14 
11:11:05.0 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2012-12-28 22:48:32.0 +0100
@@ -1,0 +2,5 @@
+Wed Dec 19 06:29:51 UTC 2012 - co...@suse.com
+
+- updated to version 1.2.7, no changelog
+
+---

Old:

  rhc-1.1.11.gem

New:

  rhc-1.2.7.gem



Other differences:
--
++ rubygem-rhc.spec ++
--- /var/tmp/diff_new_pack.h2N189/_old  2012-12-28 22:48:33.0 +0100
+++ /var/tmp/diff_new_pack.h2N189/_new  2012-12-28 22:48:33.0 +0100
@@ -17,7 +17,7 @@
 
 
 Name:   rubygem-rhc
-Version:1.1.11
+Version:1.2.7
 Release:0
 %define mod_name rhc
 %define mod_full_name %{mod_name}-%{version}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit rubygem-rhc for openSUSE:Factory

2012-12-14 Thread h_root
Hello community,

here is the log from the commit of package rubygem-rhc for openSUSE:Factory 
checked in at 2012-12-14 11:11:04

Comparing /work/SRC/openSUSE:Factory/rubygem-rhc (Old)
 and  /work/SRC/openSUSE:Factory/.rubygem-rhc.new (New)


Package is rubygem-rhc, Maintainer is 

Changes:

New Changes file:

--- /dev/null   2012-11-30 12:21:47.308011256 +0100
+++ /work/SRC/openSUSE:Factory/.rubygem-rhc.new/rubygem-rhc.changes 
2012-12-14 11:11:05.0 +0100
@@ -0,0 +1,21 @@
+---
+Mon Dec  3 12:49:27 UTC 2012 - cfarr...@suse.com
+
+- license update: Apache-2.0
+  See the LICENSE file
+
+---
+Sat Dec  1 14:20:02 UTC 2012 - co...@suse.com
+
+- updated to version 1.1.11
+
+---
+Mon Nov 19 12:47:32 UTC 2012 - co...@suse.com
+
+- updated to version 1.0.4
+
+---
+Tue Sep 11 20:13:17 UTC 2012 - dmi...@roshchin.org
+
+- Initial package
+- Version 0.97.17

New:

  rhc-1.1.11.gem
  rubygem-rhc.changes
  rubygem-rhc.spec



Other differences:
--
++ rubygem-rhc.spec ++
#
# spec file for package rubygem-rhc
#
# Copyright (c) 2012 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:   rubygem-rhc
Version:1.1.11
Release:0
%define mod_name rhc
%define mod_full_name %{mod_name}-%{version}

BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  ruby-macros = 1
Url:https://github.com/openshift/rhc
Source: %{mod_full_name}.gem
Summary:OpenShift Client Tools
License:Apache-2.0
Group:  Development/Languages/Ruby
# MANUAL
Recommends: git
Recommends: openssh

%description
The client tools for the OpenShift platform that allow for application
management.

%package doc
Summary:RDoc documentation for %{mod_name}
Group:  Development/Languages/Ruby
Requires:   %{name} = %{version}

%description doc
Documentation generated at gem installation time.
Usually in RDoc and RI formats.

%package testsuite
Summary:Test suite for %{mod_name}
Group:  Development/Languages/Ruby
Requires:   %{name} = %{version}

%description testsuite
Test::Unit or RSpec files, useful for developers.

%prep
#gem_unpack
#if you need patches, apply them here and replace the # with a % sign in the 
surrounding lines
#gem_build

%build

%install
%gem_install -f

%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
%{_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

%files doc
%defattr(-,root,root,-)
%doc %{_libdir}/ruby/gems/%{rb_ver}/doc/%{mod_full_name}/

%files testsuite
%defattr(-,root,root,-)
%{_libdir}/ruby/gems/%{rb_ver}/gems/%{mod_full_name}/spec

%changelog
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org