packaging 0.99.9 → 0.99.9.5.g5811fb8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82ed2cba3b663864b515ec3a40ae162bbc589ba4
4
- data.tar.gz: 31fba6bd6a1b968ab6376dba559b5bc725dee9a7
3
+ metadata.gz: ed093c4d49b24d71b66aeae718c4a98f9f36f4fe
4
+ data.tar.gz: 3ba6a1f320add36e971a7485fc001c69b46b120c
5
5
  SHA512:
6
- metadata.gz: d88cebc95c01c539aa5c16aadbf67d20c9efbd04b8d248f844a1f9d42b7b0142ac0432db8266f5aef3a6980e83ae28e76990d35ccbb94a10dd9832ded3b98f6b
7
- data.tar.gz: aa3ebaa5fe013df685490fce2977b8f8bafbd2aeef47cd1eed7bb4c23dff6c5f08501a790c80752d1e852769600369ac67bab9f0907dbac523d9ad5d3e49375c
6
+ metadata.gz: 1743205f177f7f85c70295fe07a5bf406332f95bc37ec0033bc50c25fa7f7594d025896fa219b147eb2bf6f76d8e52c2954bf22b76d782cb60bf8ac48f44be6b
7
+ data.tar.gz: cd2388d6d8231acfe989cf0036233052cf6b410ac59fe24c7232de6c1d463c3bf4d57699652023789bf74fe835921ea32203af6593e86afa27bc8615bdf6ae57
@@ -353,8 +353,10 @@ module Pkg
353
353
 
354
354
  def deb_build_targets
355
355
  if self.vanagon_project
356
+ fail "ERROR: Could not find any deb targets. Try adding `deb_targets` to your build_defaults.yaml. If you don't want to build any debs, set this to an empty string." unless self.deb_targets
356
357
  self.deb_targets.split(' ')
357
358
  else
359
+ fail "ERROR: Could not find any deb targets. Try adding `cows` to your build_defaults.yaml. If you don't want to build any debs, set this to an empty string." unless self.cows
358
360
  self.cows.split(' ').map do |cow|
359
361
  codename, arch = self.cow_to_codename_arch(cow)
360
362
  "#{codename}-#{arch}"
@@ -364,8 +366,10 @@ module Pkg
364
366
 
365
367
  def rpm_build_targets
366
368
  if self.vanagon_project
369
+ fail "ERROR: Could not find any rpm targets. Try adding `rpm_targets` to your build_defaults.yaml. If you don't want to build any rpms, set this to an empty string." unless self.rpm_targets
367
370
  self.rpm_targets.split(' ')
368
371
  else
372
+ fail "ERROR: Could not find any rpm targets. Try adding `final_mocks` to your build_defaults.yaml. If you don't want to build any rpms, set this to an empty string." unless self.final_mocks
369
373
  self.final_mocks.split(' ').map do |mock|
370
374
  platform, version, arch = self.mock_to_dist_version_arch(mock)
371
375
  "#{platform}-#{version}-#{arch}"
@@ -19,7 +19,7 @@ module Pkg::Util::Tool
19
19
  exts.each do |ext|
20
20
  locationext = File.expand_path(location + ext)
21
21
 
22
- return locationext if FileTest.executable?(locationext)
22
+ return '"' + locationext + '"' if FileTest.executable?(locationext)
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: packaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.9
4
+ version: 0.99.9.5.g5811fb8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-31 00:00:00.000000000 Z
11
+ date: 2018-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -217,9 +217,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
217
217
  version: 2.0.0
218
218
  required_rubygems_version: !ruby/object:Gem::Requirement
219
219
  requirements:
220
- - - ">="
220
+ - - ">"
221
221
  - !ruby/object:Gem::Version
222
- version: '0'
222
+ version: 1.3.1
223
223
  requirements: []
224
224
  rubyforge_project:
225
225
  rubygems_version: 2.6.14