packaging_rake_tasks 1.0.4 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/tasks/osc.rake +3 -1
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
data/lib/tasks/osc.rake CHANGED
@@ -81,7 +81,8 @@ namespace :osc do
81
81
  end
82
82
 
83
83
  desc "Build package locally"
84
- task :build => ["check:osc", "package"] do
84
+ task :build, [:osc_options] => ["check:osc", "package"] do |t, args|
85
+ args.with_defaults = { :osc_options => "" }
85
86
  raise "Missing information about your Build service project" if !build_dist || !obs_project || !package_name
86
87
 
87
88
  begin
@@ -101,6 +102,7 @@ namespace :osc do
101
102
  command << " --root=/var/tmp/build-root-#{build_dist}"
102
103
  # store packages for given base system at one place, so it spped up rebuild
103
104
  command << " --keep-pkgs=#{pkg_dir}"
105
+ command << " #{args[:osc_options]}"
104
106
  command << " #{build_dist}"
105
107
 
106
108
  sh command
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packaging_rake_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-09 00:00:00.000000000 Z
12
+ date: 2013-10-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake