packaging 0.99.9 → 0.99.9.5.g5811fb8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/packaging/config.rb +4 -0
- data/lib/packaging/util/tool.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed093c4d49b24d71b66aeae718c4a98f9f36f4fe
|
4
|
+
data.tar.gz: 3ba6a1f320add36e971a7485fc001c69b46b120c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1743205f177f7f85c70295fe07a5bf406332f95bc37ec0033bc50c25fa7f7594d025896fa219b147eb2bf6f76d8e52c2954bf22b76d782cb60bf8ac48f44be6b
|
7
|
+
data.tar.gz: cd2388d6d8231acfe989cf0036233052cf6b410ac59fe24c7232de6c1d463c3bf4d57699652023789bf74fe835921ea32203af6593e86afa27bc8615bdf6ae57
|
data/lib/packaging/config.rb
CHANGED
@@ -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}"
|
data/lib/packaging/util/tool.rb
CHANGED
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-
|
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:
|
222
|
+
version: 1.3.1
|
223
223
|
requirements: []
|
224
224
|
rubyforge_project:
|
225
225
|
rubygems_version: 2.6.14
|