diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-10-12 01:37:14 +0000 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2024-10-12 01:37:14 +0000 |
commit | 9dd2c1df9cc4dc5486e6c2bdd5555a98fc6af8d4 (patch) | |
tree | 4e7fa3f5a4c93bd84e9ee355e4812ce469f972ae | |
parent | 4c85c6d55a3d1682464735bf427ffc78723d1ed0 (diff) | |
download | meta-cloud-services-9dd2c1df9cc4dc5486e6c2bdd5555a98fc6af8d4.tar.gz |
puppet-vswitch: update to v21.1.0
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
3 files changed, 20 insertions, 39 deletions
diff --git a/recipes-support/puppet-vswitch/files/Add-gemspec.patch b/recipes-support/puppet-vswitch/files/Add-gemspec.patch deleted file mode 100644 index 2216c3b..0000000 --- a/recipes-support/puppet-vswitch/files/Add-gemspec.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 66ffd1621d30b3fe9ccbc0a7d21319b351833afb Mon Sep 17 00:00:00 2001 | ||
2 | From: Mark Asselstine <mark.asselstine@windriver.com> | ||
3 | Date: Thu, 17 Dec 2015 14:06:18 -0500 | ||
4 | Subject: [PATCH] Add gemspec | ||
5 | |||
6 | Started with an example from here | ||
7 | http://guides.rubygems.org/make-your-own-gem/ | ||
8 | |||
9 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | ||
10 | --- | ||
11 | puppet-vswitch.gemspec | 12 ++++++++++++ | ||
12 | 1 file changed, 12 insertions(+) | ||
13 | create mode 100644 puppet-vswitch.gemspec | ||
14 | |||
15 | diff --git a/puppet-vswitch.gemspec b/puppet-vswitch.gemspec | ||
16 | new file mode 100644 | ||
17 | index 0000000..eb4c44e | ||
18 | --- /dev/null | ||
19 | +++ b/puppet-vswitch.gemspec | ||
20 | @@ -0,0 +1,12 @@ | ||
21 | +Gem::Specification.new do |s| | ||
22 | + s.name = 'puppet-vswitch' | ||
23 | + s.version = '3.0.0' | ||
24 | + s.date = '2015-11-27' | ||
25 | + s.summary = "Puppet provider for virtual switches." | ||
26 | + s.description = s.summary | ||
27 | + s.authors = ["Puppet Labs"] | ||
28 | + s.email = '' | ||
29 | + s.files = %w(LICENSE README.md Rakefile) + Dir.glob('{lib,spec}/**/*') | ||
30 | + s.homepage = 'https://github.com/openstack/puppet-vswitch' | ||
31 | + s.license = 'Apache 2.0' | ||
32 | +end | ||
33 | -- | ||
34 | 2.1.4 | ||
35 | |||
diff --git a/recipes-support/puppet-vswitch/files/puppet-vswitch.gemspec b/recipes-support/puppet-vswitch/files/puppet-vswitch.gemspec new file mode 100644 index 0000000..63f3358 --- /dev/null +++ b/recipes-support/puppet-vswitch/files/puppet-vswitch.gemspec | |||
@@ -0,0 +1,13 @@ | |||
1 | Gem::Specification.new do |s| | ||
2 | s.name = 'puppet-vswitch' | ||
3 | s.version = '3.0.0' | ||
4 | s.date = '2015-11-27' | ||
5 | s.summary = "Puppet provider for virtual switches." | ||
6 | s.description = s.summary | ||
7 | s.authors = ["Puppet Labs"] | ||
8 | s.email = '' | ||
9 | s.files = %w(LICENSE README.md Rakefile) + Dir.glob('{lib,spec}/**/*') | ||
10 | s.homepage = 'https://github.com/openstack/puppet-vswitch' | ||
11 | s.license = 'Apache 2.0' | ||
12 | end | ||
13 | |||
diff --git a/recipes-support/puppet-vswitch/puppet-vswitch_git.bb b/recipes-support/puppet-vswitch/puppet-vswitch_git.bb index 14c2dd7..a600466 100644 --- a/recipes-support/puppet-vswitch/puppet-vswitch_git.bb +++ b/recipes-support/puppet-vswitch/puppet-vswitch_git.bb | |||
@@ -3,15 +3,18 @@ HOMEPAGE = "https://github.com/openstack/puppet-vswitch" | |||
3 | LICENSE = "Apache-2.0" | 3 | LICENSE = "Apache-2.0" |
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2" |
5 | 5 | ||
6 | PV = "3.0.0" | 6 | PV = "21.1.0" |
7 | SRCREV = "c374840910c823f7669cf2e1229c7df7192ae880" | 7 | SRCREV = "43ee6e8d174c2748376f5e166a25c7143747b3b9" |
8 | 8 | ||
9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
10 | git://github.com/openstack/puppet-vswitch.git;branch=master;protocol=https \ | 10 | git://github.com/openstack/puppet-vswitch.git;branch=master;protocol=https \ |
11 | file://Add-gemspec.patch \ | 11 | file://puppet-vswitch.gemspec \ |
12 | " | 12 | " |
13 | 13 | ||
14 | inherit ruby | 14 | inherit rubyv2 |
15 | |||
16 | GEM_NAME = "puppetlabs-std" | ||
17 | GEM_SPEC_FILE = "puppet-vswitch.gemspec" | ||
15 | 18 | ||
16 | S="${WORKDIR}/git" | 19 | S="${WORKDIR}/git" |
17 | 20 | ||