Hello community,
here is the log from the commit of package rubygem-childprocess for
openSUSE:Factory checked in at 2015-02-11 16:45:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-childprocess (Old)
and /work/SRC/openSUSE:Factory/.rubygem-childprocess.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-childprocess"
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-childprocess/rubygem-childprocess.changes
2014-10-14 07:10:42.000000000 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-childprocess.new/rubygem-childprocess.changes
2015-02-11 16:45:14.000000000 +0100
@@ -1,0 +2,5 @@
+Tue Feb 10 17:29:04 UTC 2015 - [email protected]
+
+- updated to version 0.5.5
+
+-------------------------------------------------------------------
Old:
----
childprocess-0.5.3.gem
New:
----
childprocess-0.5.5.gem
gem2rpm.yml
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-childprocess.spec ++++++
--- /var/tmp/diff_new_pack.EFMsiE/_old 2015-02-11 16:45:15.000000000 +0100
+++ /var/tmp/diff_new_pack.EFMsiE/_new 2015-02-11 16:45:15.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-childprocess
#
-# 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
@@ -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-childprocess
-Version: 0.5.3
+Version: 0.5.5
Release: 0
%define mod_name childprocess
%define mod_full_name %{mod_name}-%{version}
@@ -27,6 +34,7 @@
BuildRequires: ruby-macros >= 5
Url: http://github.com/jarib/childprocess
Source: http://rubygems.org/gems/%{mod_full_name}.gem
+Source1: gem2rpm.yml
Summary: This gem aims at being a simple and reliable solution for
License: MIT
Group: Development/Languages/Ruby
++++++ childprocess-0.5.3.gem -> childprocess-0.5.5.gem ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.travis.yml new/.travis.yml
--- old/.travis.yml 2014-04-22 13:47:33.000000000 +0200
+++ new/.travis.yml 2014-10-01 20:10:10.000000000 +0200
@@ -6,8 +6,8 @@
- 2.1.0
- ruby-head
env:
- - CHILDPROCESS_POSIX_SPAWN=true
- - CHILDPROCESS_POSIX_SPAWN=false
+ - CHILDPROCESS_POSIX_SPAWN=true CHILDPROCESS_UNSET=should-be-unset
+ - CHILDPROCESS_POSIX_SPAWN=false CHILDPROCESS_UNSET=should-be-unset
matrix:
allow_failures:
- rvm: rbx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2014-04-22 13:47:33.000000000 +0200
+++ new/README.md 2014-10-01 20:10:10.000000000 +0200
@@ -142,6 +142,17 @@
process.start
```
+#### Invoking a shell
+
+As opposed to `Kernel#system`, `Kernel#exec` et al., ChildProcess will not
automatically execute your command in a shell (like `/bin/sh` or `cmd.exe`)
depending on the arguments.
+This means that if you try to execute e.g. gem executables (like `bundle` or
`gem`) or Windows executables (with `.com` or `.bat` extensions) you may see a
`ChildProcess::LaunchError`.
+You can work around this by being explicit about what interpreter to invoke:
+
+```ruby
+ChildProcess.build("cmd.exe", "/c", "bundle")
+ChildProcess.build("ruby", "-S", "bundle")
+```
+
# Implementation
How the process is launched and killed depends on the platform:
Files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/childprocess.gemspec new/childprocess.gemspec
--- old/childprocess.gemspec 2014-04-22 13:47:33.000000000 +0200
+++ new/childprocess.gemspec 2014-10-01 20:10:10.000000000 +0200
@@ -19,7 +19,7 @@
s.test_files = `git ls-files -- spec/*`.split("\n")
s.require_paths = ["lib"]
- s.add_development_dependency "rspec", ">= 2.0.0"
+ s.add_development_dependency "rspec", "~> 3.0.0"
s.add_development_dependency "yard", ">= 0"
s.add_development_dependency "rake", "~> 0.9.2"
s.add_development_dependency 'coveralls'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/childprocess/jruby/process.rb
new/lib/childprocess/jruby/process.rb
--- old/lib/childprocess/jruby/process.rb 2014-04-22 13:47:33.000000000
+0200
+++ new/lib/childprocess/jruby/process.rb 2014-10-01 20:10:10.000000000
+0200
@@ -21,7 +21,8 @@
stop_pumps
true
- rescue java.lang.IllegalThreadStateException
+ rescue java.lang.IllegalThreadStateException => ex
+ log(ex.class => ex.message)
false
ensure
log(:exit_code => @exit_code)
@@ -112,9 +113,20 @@
end
def set_env(env)
- ENV.to_hash.merge(@environment).each do |k,v|
- env.put(k.to_s, v.to_s) if v
+ merged = ENV.to_hash
+
+ @environment.each { |k, v| merged[k.to_s] = v }
+
+ merged.each do |k, v|
+ if v
+ env.put(k, v.to_s)
+ elsif env.has_key? k
+ env.remove(k)
+ end
end
+
+ removed_keys = env.key_set.to_a - merged.keys
+ removed_keys.each { |k| env.remove(k) }
end
def create_stdin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/childprocess/version.rb
new/lib/childprocess/version.rb
--- old/lib/childprocess/version.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/lib/childprocess/version.rb 2014-10-01 20:10:10.000000000 +0200
@@ -1,3 +1,3 @@
module ChildProcess
- VERSION = "0.5.3"
+ VERSION = "0.5.5"
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2014-04-22 13:47:33.000000000 +0200
+++ new/metadata 2014-10-01 20:10:10.000000000 +0200
@@ -1,29 +1,29 @@
--- !ruby/object:Gem::Specification
name: childprocess
version: !ruby/object:Gem::Version
- version: 0.5.3
+ version: 0.5.5
platform: ruby
authors:
- Jari Bakken
autorequire:
bindir: bin
cert_chain: []
-date: 2014-04-22 00:00:00.000000000 Z
+date: 2014-10-01 00:00:00.000000000 Z
dependencies:
- !ruby/object:Gem::Dependency
name: rspec
requirement: !ruby/object:Gem::Requirement
requirements:
- - - ">="
+ - - "~>"
- !ruby/object:Gem::Version
- version: 2.0.0
+ version: 3.0.0
type: :development
prerelease: false
version_requirements: !ruby/object:Gem::Requirement
requirements:
- - - ">="
+ - - "~>"
- !ruby/object:Gem::Version
- version: 2.0.0
+ version: 3.0.0
- !ruby/object:Gem::Dependency
name: yard
requirement: !ruby/object:Gem::Requirement
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/abstract_io_spec.rb new/spec/abstract_io_spec.rb
--- old/spec/abstract_io_spec.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/abstract_io_spec.rb 2014-10-01 20:10:10.000000000 +0200
@@ -6,7 +6,7 @@
it "inherits the parent's IO streams" do
io.inherit!
- io.stdout.should eq STDOUT
- io.stderr.should eq STDERR
+ expect(io.stdout).to eq STDOUT
+ expect(io.stderr).to eq STDERR
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/childprocess_spec.rb
new/spec/childprocess_spec.rb
--- old/spec/childprocess_spec.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/childprocess_spec.rb 2014-10-01 20:10:10.000000000 +0200
@@ -6,8 +6,8 @@
it "returns self when started" do
process = sleeping_ruby
- process.start.should eq process
- process.should be_started
+ expect(process.start).to eq process
+ expect(process).to be_alive
end
# We can't detect failure to execve() when using posix_spawn() on Linux
@@ -30,35 +30,35 @@
process = exit_with(1).start
process.wait
- process.should be_crashed
+ expect(process).to be_crashed
end
it "knows if the process didn't crash" do
process = exit_with(0).start
process.wait
- process.should_not be_crashed
+ expect(process).to_not be_crashed
end
it "can wait for a process to finish" do
process = exit_with(0).start
return_value = process.wait
- process.should_not be_alive
- return_value.should == 0
+ expect(process).to_not be_alive
+ expect(return_value).to eq 0
end
it 'ignores #wait if process already finished' do
process = exit_with(0).start
sleep 0.01 until process.exited?
- process.wait.should == 0
+ expect(process.wait).to eql 0
end
it "escalates if TERM is ignored" do
process = ignored('TERM').start
process.stop
- process.should be_exited
+ expect(process).to be_exited
end
it "accepts a timeout argument to #stop" do
@@ -74,7 +74,7 @@
end
child_env = eval rewind_and_read(file)
- child_env['INHERITED'].should == 'yes'
+ expect(child_env['INHERITED']).to eql 'yes'
end
end
@@ -84,12 +84,12 @@
process.environment['CHILD_ONLY'] = '1'
process.start
- ENV['CHILD_ONLY'].should be_nil
+ expect(ENV['CHILD_ONLY']).to be_nil
process.wait
child_env = eval rewind_and_read(file)
- child_env['CHILD_ONLY'].should == '1'
+ expect(child_env['CHILD_ONLY']).to eql '1'
end
end
@@ -104,8 +104,8 @@
child_env = eval rewind_and_read(file)
- child_env['INHERITED'].should eq 'yes'
- child_env['CHILD_ONLY'].should eq 'yes'
+ expect(child_env['INHERITED']).to eq 'yes'
+ expect(child_env['CHILD_ONLY']).to eq 'yes'
end
end
end
@@ -120,7 +120,20 @@
process.wait
child_env = eval rewind_and_read(file)
- child_env.should_not have_key('CHILDPROCESS_UNSET')
+ expect(child_env).to_not have_key('CHILDPROCESS_UNSET')
+ end
+ end
+
+ it 'does not see env vars unset in parent' do
+ Tempfile.open('env-spec') do |file|
+ ENV['CHILDPROCESS_UNSET'] = nil
+ process = write_env(file.path)
+ process.start
+
+ process.wait
+
+ child_env = eval rewind_and_read(file)
+ expect(child_env).to_not have_key('CHILDPROCESS_UNSET')
end
end
@@ -132,12 +145,13 @@
process = write_argv(file.path, *args).start
process.wait
- rewind_and_read(file).should == args.inspect
+ expect(rewind_and_read(file)).to eql args.inspect
end
end
it "lets a detached child live on" do
pending "how do we spec this?"
+ fail
end
it "preserves Dir.pwd in the child" do
@@ -153,7 +167,7 @@
process.wait
- rewind_and_read(file).should == expected_dir
+ expect(rewind_and_read(file)).to eq expected_dir
end
end
@@ -164,7 +178,7 @@
process = write_argv(file.path, *args).start
process.wait
- rewind_and_read(file).should == args.inspect
+ expect(rewind_and_read(file)).to eq args.inspect
end
end
@@ -172,14 +186,14 @@
path = File.expand_path('foo bar')
with_executable_at(path) do |proc|
- proc.start.should eq proc
- proc.should be_started
+ expect(proc.start).to eq proc
+ expect(proc).to be_alive
end
end
it "times out when polling for exit" do
process = sleeping_ruby.start
- lambda { process.poll_for_exit(0.1) }.should
raise_error(ChildProcess::TimeoutError)
+ expect { process.poll_for_exit(0.1) }.to
raise_error(ChildProcess::TimeoutError)
end
it "can change working directory" do
@@ -196,10 +210,10 @@
process.start
process.wait
- rewind_and_read(file).should == dir
+ expect(rewind_and_read(file)).to eq dir
end
- Dir.pwd.should == orig_pwd
+ expect(Dir.pwd).to eq orig_pwd
}
end
@@ -214,7 +228,7 @@
end
process.stop
- wait_until(3) { alive?(pid).should be_false }
+ wait_until(3) { expect(alive?(pid)).to eql(false) }
end
end
@@ -223,7 +237,7 @@
threads = []
threads << Thread.new { sleeping_ruby(1).start.wait }
- threads << Thread.new(time) { (Time.now - time).should < 0.5 }
+ threads << Thread.new(time) { expect(Time.now - time).to be < 0.5 }
threads.each { |t| t.join }
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/io_spec.rb new/spec/io_spec.rb
--- old/spec/io_spec.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/io_spec.rb 2014-10-01 20:10:10.000000000 +0200
@@ -17,11 +17,11 @@
process.io.stderr = err
process.start
- process.io.stdin.should be_nil
+ expect(process.io.stdin).to be_nil
process.wait
- rewind_and_read(out).should eq "0\n"
- rewind_and_read(err).should eq "1\n"
+ expect(rewind_and_read(out)).to eq "0\n"
+ expect(rewind_and_read(err)).to eq "1\n"
ensure
out.close
err.close
@@ -44,7 +44,7 @@
process.start
process.wait
- rewind_and_read(out).should == "0\n"
+ expect(rewind_and_read(out)).to eq "0\n"
ensure
out.close
end
@@ -61,7 +61,7 @@
process.start
process.wait
- rewind_and_read(out).should == "hello\n"
+ expect(rewind_and_read(out)).to eq "hello\n"
ensure
out.close
end
@@ -84,7 +84,7 @@
process.poll_for_exit(exit_timeout)
- rewind_and_read(out).should == "hello world\n"
+ expect(rewind_and_read(out)).to eq "hello world\n"
ensure
out.close
end
@@ -108,23 +108,23 @@
stdin.puts "hello"
stdin.flush
- wait_until { rewind_and_read(out_receiver).should =~ /\Ahello\r?\n\z/m }
+ wait_until { expect(rewind_and_read(out_receiver)).to
match(/\Ahello\r?\n\z/m) }
stdin.putc "n"
stdin.flush
- wait_until { rewind_and_read(out_receiver).should =~ /\Ahello\r?\nn\z/m }
+ wait_until { expect(rewind_and_read(out_receiver)).to
match(/\Ahello\r?\nn\z/m) }
stdin.print "e"
stdin.flush
- wait_until { rewind_and_read(out_receiver).should =~ /\Ahello\r?\nne\z/m
}
+ wait_until { expect(rewind_and_read(out_receiver)).to
match(/\Ahello\r?\nne\z/m) }
stdin.printf "w"
stdin.flush
- wait_until { rewind_and_read(out_receiver).should =~
/\Ahello\r?\nnew\z/m }
+ wait_until { expect(rewind_and_read(out_receiver)).to
match(/\Ahello\r?\nnew\z/m) }
stdin.write "\nworld\n"
stdin.flush
- wait_until { rewind_and_read(out_receiver).should =~
/\Ahello\r?\nnew\r?\nworld\r?\n\z/m }
+ wait_until { expect(rewind_and_read(out_receiver)).to
match(/\Ahello\r?\nnew\r?\nworld\r?\n\z/m) }
stdin.close
process.poll_for_exit(exit_timeout)
@@ -168,7 +168,7 @@
out = stdout.read
err = stderr.read
- [out, err].should == %w[stdout stderr]
+ expect([out, err]).to eq %w[stdout stderr]
end
it "can set close-on-exec when IO is inherited" do
@@ -199,7 +199,7 @@
process.start
process.wait
- rewind_and_read(out).size.should == 3000
+ expect(rewind_and_read(out).size).to eq 3000
ensure
out.close
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/jruby_spec.rb new/spec/jruby_spec.rb
--- old/spec/jruby_spec.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/jruby_spec.rb 2014-10-01 20:10:10.000000000 +0200
@@ -6,7 +6,7 @@
let(:io) { ChildProcess::JRuby::IO.new }
it "raises an ArgumentError if given IO does not respond to
:to_outputstream" do
- lambda { io.stdout = nil }.should raise_error(ArgumentError)
+ expect { io.stdout = nil }.to raise_error(ArgumentError)
end
end
@@ -17,7 +17,7 @@
it "raises an error when trying to access the child's pid" do
process = exit_with(0)
process.start
- lambda { process.pid }.should raise_error(NotImplementedError)
+ expect { process.pid }.to raise_error(NotImplementedError)
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/pid_behavior.rb new/spec/pid_behavior.rb
--- old/spec/pid_behavior.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/pid_behavior.rb 2014-10-01 20:10:10.000000000 +0200
@@ -6,7 +6,7 @@
process = write_pid(file.path).start
process.wait
- process.pid.should == rewind_and_read(file).chomp.to_i
+ expect(process.pid).to eq rewind_and_read(file).chomp.to_i
end
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/spec_helper.rb new/spec/spec_helper.rb
--- old/spec/spec_helper.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/spec_helper.rb 2014-10-01 20:10:10.000000000 +0200
@@ -128,9 +128,9 @@
def with_executable_at(path, &blk)
if ChildProcess.os == :windows
path << ".cmd"
- content = "@echo foo"
+ content = "#{RUBY} -e 'sleep 10' \n @echo foo"
else
- content = "#!/bin/sh\necho foo"
+ content = "#!/bin/sh\nsleep 10\necho foo"
end
File.open(path, 'w', 0744) { |io| io << content }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/unix_spec.rb new/spec/unix_spec.rb
--- old/spec/unix_spec.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/unix_spec.rb 2014-10-01 20:10:10.000000000 +0200
@@ -9,29 +9,29 @@
it "handles ECHILD race condition where process dies between timeout and
KILL" do
process = sleeping_ruby
- process.stub(:fork).and_return('fakepid')
- process.stub(:send_term)
- process.stub(:poll_for_exit).and_raise(ChildProcess::TimeoutError)
- process.stub(:send_kill).and_raise(Errno::ECHILD.new)
+ allow(process).to receive(:fork).and_return('fakepid')
+ allow(process).to receive(:send_term)
+ allow(process).to
receive(:poll_for_exit).and_raise(ChildProcess::TimeoutError)
+ allow(process).to receive(:send_kill).and_raise(Errno::ECHILD.new)
process.start
- lambda { process.stop }.should_not raise_error
+ expect { process.stop }.not_to raise_error
- process.stub(:alive?).and_return(false)
+ allow(process).to receive(:alive?).and_return(false)
end
it "handles ESRCH race condition where process dies between timeout and
KILL" do
process = sleeping_ruby
- process.stub(:fork).and_return('fakepid')
- process.stub(:send_term)
- process.stub(:poll_for_exit).and_raise(ChildProcess::TimeoutError)
- process.stub(:send_kill).and_raise(Errno::ESRCH.new)
+ allow(process).to receive(:fork).and_return('fakepid')
+ allow(process).to receive(:send_term)
+ allow(process).to
receive(:poll_for_exit).and_raise(ChildProcess::TimeoutError)
+ allow(process).to receive(:send_kill).and_raise(Errno::ESRCH.new)
process.start
- lambda { process.stop }.should_not raise_error
+ expect { process.stop }.not_to raise_error
- process.stub(:alive?).and_return(false)
+ allow(process).to receive(:alive?).and_return(false)
end
end
@@ -39,14 +39,14 @@
let(:io) { ChildProcess::Unix::IO.new }
it "raises an ArgumentError if given IO does not respond to :to_io" do
- lambda { io.stdout = nil }.should raise_error(ArgumentError, /to respond
to :to_io/)
+ expect { io.stdout = nil }.to raise_error(ArgumentError, /to respond to
:to_io/)
end
it "raises a TypeError if #to_io does not return an IO" do
fake_io = Object.new
def fake_io.to_io() StringIO.new end
- lambda { io.stdout = fake_io }.should raise_error(TypeError, /expected
IO, got/)
+ expect { io.stdout = fake_io }.to raise_error(TypeError, /expected IO,
got/)
end
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/spec/windows_spec.rb new/spec/windows_spec.rb
--- old/spec/windows_spec.rb 2014-04-22 13:47:33.000000000 +0200
+++ new/spec/windows_spec.rb 2014-10-01 20:10:10.000000000 +0200
@@ -10,14 +10,14 @@
let(:io) { ChildProcess::Windows::IO.new }
it "raises an ArgumentError if given IO does not respond to :fileno" do
- lambda { io.stdout = nil }.should raise_error(ArgumentError, /must have
:fileno or :to_io/)
+ expect { io.stdout = nil }.to raise_error(ArgumentError, /must have
:fileno or :to_io/)
end
it "raises an ArgumentError if the #to_io does not return an IO " do
fake_io = Object.new
def fake_io.to_io() StringIO.new end
- lambda { io.stdout = fake_io }.should raise_error(ArgumentError, /must
have :fileno or :to_io/)
+ expect { io.stdout = fake_io }.to raise_error(ArgumentError, /must have
:fileno or :to_io/)
end
end
end
++++++ 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: |-
# Requires: util-linux
# Recommends: pwgen
# :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
#
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]