egon 0.4.3 → 0.4.4
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 +8 -8
- data/lib/egon/version.rb +1 -1
- data/pkg/egon-0.1.0.gem +0 -0
- data/pkg/egon-0.2.0.gem +0 -0
- data/pkg/egon-0.3.1.gem +0 -0
- data/pkg/egon-0.3.2.gem +0 -0
- data/pkg/egon-0.3.3.gem +0 -0
- data/pkg/egon-0.3.4.gem +0 -0
- data/pkg/egon-0.3.5.gem +0 -0
- data/pkg/egon-0.3.6.gem +0 -0
- data/pkg/egon-0.4.0.gem +0 -0
- data/pkg/egon-0.4.1.gem +0 -0
- data/pkg/egon-0.4.2.gem +0 -0
- data/rubygem-egon.spec +43 -22
- metadata +12 -7
- data/Gemfile.lock +0 -144
- data/egon-0.4.2.gem +0 -0
- data/pkg/egon-0.0.1.gem +0 -0
- data/pkg/egon-0.0.2.gem +0 -0
- data/rubygem-foreman_abrt.spec +0 -134
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
OTEwNTZmMzE3ZmVhOThhNmMwMWUyMDIxZTAwMzc5NjE1ZjBiOGZlNA==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZjAyY2MxN2ZjYTEyMDBmNTlkZTBhN2FiOWY0ODM0MGQ3YjdiZDA4Mg==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NzdlZTZmMTM2YjY0ZjY2MzkyOTg1NjU2OWQzZDRmZWUzNGQyYTdiZWMwNTI0
|
|
10
|
+
YmRkOWM4YWY4N2E5OGMyMWNiYWFkMjY0NTkyNDgyNGQxODkzMDVmNThlNDMx
|
|
11
|
+
Y2JlNmFiMTI3ODkxMjkyOGI0NzYwOGRkN2JjZGVjNTEyNzVhYWY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YjRmZDM4MTA5MjE2ODJmYmQ0Y2Q4ZmM0ODYwODg0MjI3NjU0MDA2YTI4OGMw
|
|
14
|
+
NzI2NWU1MjYyNWZhM2YzYTkwODI2NmYzMWU2ZjhmNzQ0NDNjY2NmYTEyZTBj
|
|
15
|
+
MjVjYTI5ZjRjZmI5NzVjNDgyMjVhY2FlMzVhOTViYTUyMDE0YzM=
|
data/lib/egon/version.rb
CHANGED
data/pkg/egon-0.1.0.gem
CHANGED
|
Binary file
|
data/pkg/egon-0.2.0.gem
ADDED
|
Binary file
|
data/pkg/egon-0.3.1.gem
ADDED
|
Binary file
|
data/pkg/egon-0.3.2.gem
ADDED
|
Binary file
|
data/pkg/egon-0.3.3.gem
ADDED
|
Binary file
|
data/pkg/egon-0.3.4.gem
ADDED
|
Binary file
|
data/pkg/egon-0.3.5.gem
ADDED
|
Binary file
|
data/pkg/egon-0.3.6.gem
ADDED
|
Binary file
|
data/pkg/egon-0.4.0.gem
ADDED
|
Binary file
|
data/pkg/egon-0.4.1.gem
ADDED
|
Binary file
|
data/pkg/egon-0.4.2.gem
ADDED
|
Binary file
|
data/rubygem-egon.spec
CHANGED
|
@@ -1,58 +1,64 @@
|
|
|
1
|
+
%{?scl:%scl_package rubygem-%{gem_name}}
|
|
2
|
+
%{!?scl:%global pkg_name %{name}}
|
|
3
|
+
|
|
1
4
|
%global gem_name egon
|
|
2
5
|
|
|
3
|
-
Name: rubygem-%{gem_name}
|
|
4
|
-
Version: 0.4.
|
|
5
|
-
Release:
|
|
6
|
+
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|
7
|
+
Version: 0.4.2
|
|
8
|
+
Release: 7%{?dist}
|
|
6
9
|
Summary: A library on top of Fog that encapsulates TripleO deployment operations
|
|
7
10
|
Group: Development/Languages
|
|
8
11
|
License: GPL-3.0+
|
|
9
12
|
URL: https://github.com/fusor/egon
|
|
10
13
|
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
11
|
-
BuildRequires:
|
|
12
|
-
BuildRequires:
|
|
13
|
-
BuildRequires:
|
|
14
|
-
BuildRequires: rubygem(
|
|
15
|
-
BuildRequires: rubygem(
|
|
16
|
-
BuildRequires: rubygem(net-ssh) => 2.9.2
|
|
17
|
-
BuildRequires: rubygem(net-ssh) < 2.10
|
|
18
|
-
BuildRequires: rubygem(rspec) => 3.2.0
|
|
19
|
-
BuildRequires: rubygem(rspec) < 3.3
|
|
14
|
+
BuildRequires: %{?scl_prefix}rubygems-devel
|
|
15
|
+
BuildRequires: %{?scl_prefix}ruby
|
|
16
|
+
BuildRequires: %{?scl_prefix}rubygem(fog) => 1.31.0
|
|
17
|
+
BuildRequires: %{?scl_prefix}rubygem(net-ssh) => 2.9.2
|
|
18
|
+
BuildRequires: %{?scl_prefix}rubygem(net-ssh) < 2.10
|
|
20
19
|
BuildArch: noarch
|
|
21
20
|
|
|
22
21
|
%description
|
|
23
22
|
A library on top of Fog that encapsulates TripleO deployment operations.
|
|
24
23
|
|
|
25
|
-
|
|
26
24
|
%package doc
|
|
27
|
-
Summary: Documentation for %{
|
|
25
|
+
Summary: Documentation for %{pkg_name}
|
|
28
26
|
Group: Documentation
|
|
29
|
-
Requires: %{
|
|
27
|
+
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|
30
28
|
BuildArch: noarch
|
|
31
29
|
|
|
32
30
|
%description doc
|
|
33
|
-
Documentation for %{
|
|
31
|
+
Documentation for %{pkg_name}.
|
|
34
32
|
|
|
35
33
|
%prep
|
|
34
|
+
%{?scl:scl enable %{scl} - << \EOF}
|
|
36
35
|
gem unpack %{SOURCE0}
|
|
36
|
+
%{?scl:EOF}
|
|
37
37
|
|
|
38
38
|
%setup -q -D -T -n %{gem_name}-%{version}
|
|
39
39
|
|
|
40
|
+
%{?scl:scl enable %{scl} - << \EOF}
|
|
40
41
|
gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
|
|
42
|
+
%{?scl:EOF}
|
|
41
43
|
|
|
42
44
|
%build
|
|
43
45
|
# Create the gem as gem install only works on a gem file
|
|
46
|
+
%{?scl:scl enable %{scl} - << \EOF}
|
|
44
47
|
gem build %{gem_name}.gemspec
|
|
48
|
+
%{?scl:EOF}
|
|
45
49
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
%
|
|
50
|
+
%{?scl:scl enable %{scl} - << \EOF}
|
|
51
|
+
gem install %{gem_name}-%{version}.gem --local --install-dir .%{gem_dir}
|
|
52
|
+
%{?scl:EOF}
|
|
49
53
|
|
|
50
54
|
%install
|
|
51
55
|
mkdir -p %{buildroot}%{gem_dir}
|
|
56
|
+
mkdir .%{_bindir}
|
|
57
|
+
mv .%{gem_dir}/bin/* \
|
|
58
|
+
.%{_bindir}
|
|
52
59
|
cp -a .%{gem_dir}/* \
|
|
53
60
|
%{buildroot}%{gem_dir}/
|
|
54
61
|
|
|
55
|
-
|
|
56
62
|
mkdir -p %{buildroot}%{_bindir}
|
|
57
63
|
cp -pa .%{_bindir}/* \
|
|
58
64
|
%{buildroot}%{_bindir}/
|
|
@@ -60,6 +66,7 @@ cp -pa .%{_bindir}/* \
|
|
|
60
66
|
find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x
|
|
61
67
|
|
|
62
68
|
# Run the test suite
|
|
69
|
+
|
|
63
70
|
%check
|
|
64
71
|
pushd .%{gem_instdir}
|
|
65
72
|
|
|
@@ -70,8 +77,6 @@ popd
|
|
|
70
77
|
%{_bindir}/undercloud-install-local.rb
|
|
71
78
|
%{_bindir}/undercloud-install-satellite.rb
|
|
72
79
|
%{_bindir}/undercloud-install-vanilla-rhel.rb
|
|
73
|
-
%exclude %{gem_instdir}/.gitignore
|
|
74
|
-
%{gem_instdir}/.ruby-version
|
|
75
80
|
%license %{gem_instdir}/LICENSE
|
|
76
81
|
%{gem_instdir}/bin
|
|
77
82
|
%{gem_libdir}
|
|
@@ -88,5 +93,21 @@ popd
|
|
|
88
93
|
%{gem_instdir}/test
|
|
89
94
|
|
|
90
95
|
%changelog
|
|
96
|
+
* Thu Sep 10 2015 Jason Montleon <jmontleo@redhat.com> 0.4.2-7
|
|
97
|
+
- gempsec and rpm spec cleanup (jmontleo@redhat.com)
|
|
98
|
+
|
|
99
|
+
* Thu Sep 10 2015 Jason Montleon <jmontleo@redhat.com> 0.4.2-6
|
|
100
|
+
- remove dev require (jmontleo@redhat.com)
|
|
101
|
+
|
|
102
|
+
* Thu Sep 10 2015 Jason Montleon <jmontleo@redhat.com> 0.4.2-5
|
|
103
|
+
- Allow newer version of fog
|
|
104
|
+
|
|
105
|
+
* Wed Sep 09 2015 Jason Montleon <jmontleo@redhat.com> 0.4.2-4
|
|
106
|
+
- remove bad require (jmontleo@redhat.com)
|
|
107
|
+
|
|
108
|
+
* Wed Sep 09 2015 Jason Montleon <jmontleo@redhat.com> 0.4.2-3
|
|
109
|
+
- Egon RPM compatible with SCL and Foreman (jrist@redhat.com)
|
|
110
|
+
- Egon RPM compatible with SCL (jrist@redhat.com)
|
|
111
|
+
|
|
91
112
|
* Mon Aug 31 2015 jrist <jrist@redhat.com> - 0.4.1-1
|
|
92
113
|
- Initial package
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: egon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Egon and Fusor team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-09-
|
|
11
|
+
date: 2015-09-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -91,14 +91,12 @@ extensions: []
|
|
|
91
91
|
extra_rdoc_files: []
|
|
92
92
|
files:
|
|
93
93
|
- Gemfile
|
|
94
|
-
- Gemfile.lock
|
|
95
94
|
- LICENSE
|
|
96
95
|
- README.md
|
|
97
96
|
- Rakefile
|
|
98
97
|
- bin/undercloud-install-local.rb
|
|
99
98
|
- bin/undercloud-install-satellite.rb
|
|
100
99
|
- bin/undercloud-install-vanilla-rhel.rb
|
|
101
|
-
- egon-0.4.2.gem
|
|
102
100
|
- egon.gemspec
|
|
103
101
|
- lib/egon.rb
|
|
104
102
|
- lib/egon/overcloud/undercloud_handle.rb
|
|
@@ -112,11 +110,18 @@ files:
|
|
|
112
110
|
- lib/egon/undercloud/port-check-mixin.rb
|
|
113
111
|
- lib/egon/undercloud/ssh-connection.rb
|
|
114
112
|
- lib/egon/version.rb
|
|
115
|
-
- pkg/egon-0.0.1.gem
|
|
116
|
-
- pkg/egon-0.0.2.gem
|
|
117
113
|
- pkg/egon-0.1.0.gem
|
|
114
|
+
- pkg/egon-0.2.0.gem
|
|
115
|
+
- pkg/egon-0.3.1.gem
|
|
116
|
+
- pkg/egon-0.3.2.gem
|
|
117
|
+
- pkg/egon-0.3.3.gem
|
|
118
|
+
- pkg/egon-0.3.4.gem
|
|
119
|
+
- pkg/egon-0.3.5.gem
|
|
120
|
+
- pkg/egon-0.3.6.gem
|
|
121
|
+
- pkg/egon-0.4.0.gem
|
|
122
|
+
- pkg/egon-0.4.1.gem
|
|
123
|
+
- pkg/egon-0.4.2.gem
|
|
118
124
|
- rubygem-egon.spec
|
|
119
|
-
- rubygem-foreman_abrt.spec
|
|
120
125
|
- test/test_ssh_connection.rb
|
|
121
126
|
- test/test_undercloud.rb
|
|
122
127
|
- test/test_undercloud_handle.rb
|
data/Gemfile.lock
DELETED
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
PATH
|
|
2
|
-
remote: .
|
|
3
|
-
specs:
|
|
4
|
-
egon (0.4.2)
|
|
5
|
-
|
|
6
|
-
GEM
|
|
7
|
-
remote: https://rubygems.org/
|
|
8
|
-
specs:
|
|
9
|
-
CFPropertyList (2.3.1)
|
|
10
|
-
builder (3.2.2)
|
|
11
|
-
diff-lcs (1.2.5)
|
|
12
|
-
excon (0.45.3)
|
|
13
|
-
fission (0.5.0)
|
|
14
|
-
CFPropertyList (~> 2.2)
|
|
15
|
-
fog (1.31.0)
|
|
16
|
-
fog-atmos
|
|
17
|
-
fog-aws (~> 0.0)
|
|
18
|
-
fog-brightbox (~> 0.4)
|
|
19
|
-
fog-core (~> 1.30)
|
|
20
|
-
fog-ecloud
|
|
21
|
-
fog-google (>= 0.0.2)
|
|
22
|
-
fog-json
|
|
23
|
-
fog-local
|
|
24
|
-
fog-powerdns (>= 0.1.1)
|
|
25
|
-
fog-profitbricks
|
|
26
|
-
fog-radosgw (>= 0.0.2)
|
|
27
|
-
fog-riakcs
|
|
28
|
-
fog-sakuracloud (>= 0.0.4)
|
|
29
|
-
fog-serverlove
|
|
30
|
-
fog-softlayer
|
|
31
|
-
fog-storm_on_demand
|
|
32
|
-
fog-terremark
|
|
33
|
-
fog-vmfusion
|
|
34
|
-
fog-voxel
|
|
35
|
-
fog-xml (~> 0.1.1)
|
|
36
|
-
ipaddress (~> 0.5)
|
|
37
|
-
nokogiri (~> 1.5, >= 1.5.11)
|
|
38
|
-
fog-atmos (0.1.0)
|
|
39
|
-
fog-core
|
|
40
|
-
fog-xml
|
|
41
|
-
fog-aws (0.4.0)
|
|
42
|
-
fog-core (~> 1.27)
|
|
43
|
-
fog-json (~> 1.0)
|
|
44
|
-
fog-xml (~> 0.1)
|
|
45
|
-
ipaddress (~> 0.8)
|
|
46
|
-
fog-brightbox (0.7.1)
|
|
47
|
-
fog-core (~> 1.22)
|
|
48
|
-
fog-json
|
|
49
|
-
inflecto (~> 0.0.2)
|
|
50
|
-
fog-core (1.30.0)
|
|
51
|
-
builder
|
|
52
|
-
excon (~> 0.45)
|
|
53
|
-
formatador (~> 0.2)
|
|
54
|
-
mime-types
|
|
55
|
-
net-scp (~> 1.1)
|
|
56
|
-
net-ssh (>= 2.1.3)
|
|
57
|
-
fog-ecloud (0.1.2)
|
|
58
|
-
fog-core
|
|
59
|
-
fog-xml
|
|
60
|
-
fog-google (0.0.5)
|
|
61
|
-
fog-core
|
|
62
|
-
fog-json
|
|
63
|
-
fog-xml
|
|
64
|
-
fog-json (1.0.2)
|
|
65
|
-
fog-core (~> 1.0)
|
|
66
|
-
multi_json (~> 1.10)
|
|
67
|
-
fog-local (0.2.1)
|
|
68
|
-
fog-core (~> 1.27)
|
|
69
|
-
fog-powerdns (0.1.1)
|
|
70
|
-
fog-core (~> 1.27)
|
|
71
|
-
fog-json (~> 1.0)
|
|
72
|
-
fog-xml (~> 0.1)
|
|
73
|
-
fog-profitbricks (0.0.3)
|
|
74
|
-
fog-core
|
|
75
|
-
fog-xml
|
|
76
|
-
nokogiri
|
|
77
|
-
fog-radosgw (0.0.4)
|
|
78
|
-
fog-core (>= 1.21.0)
|
|
79
|
-
fog-json
|
|
80
|
-
fog-xml (>= 0.0.1)
|
|
81
|
-
fog-riakcs (0.1.0)
|
|
82
|
-
fog-core
|
|
83
|
-
fog-json
|
|
84
|
-
fog-xml
|
|
85
|
-
fog-sakuracloud (1.0.1)
|
|
86
|
-
fog-core
|
|
87
|
-
fog-json
|
|
88
|
-
fog-serverlove (0.1.2)
|
|
89
|
-
fog-core
|
|
90
|
-
fog-json
|
|
91
|
-
fog-softlayer (0.4.6)
|
|
92
|
-
fog-core
|
|
93
|
-
fog-json
|
|
94
|
-
fog-storm_on_demand (0.1.1)
|
|
95
|
-
fog-core
|
|
96
|
-
fog-json
|
|
97
|
-
fog-terremark (0.1.0)
|
|
98
|
-
fog-core
|
|
99
|
-
fog-xml
|
|
100
|
-
fog-vmfusion (0.1.0)
|
|
101
|
-
fission
|
|
102
|
-
fog-core
|
|
103
|
-
fog-voxel (0.1.0)
|
|
104
|
-
fog-core
|
|
105
|
-
fog-xml
|
|
106
|
-
fog-xml (0.1.2)
|
|
107
|
-
fog-core
|
|
108
|
-
nokogiri (~> 1.5, >= 1.5.11)
|
|
109
|
-
formatador (0.2.5)
|
|
110
|
-
inflecto (0.0.2)
|
|
111
|
-
ipaddress (0.8.0)
|
|
112
|
-
mime-types (2.6.1)
|
|
113
|
-
mini_portile (0.6.2)
|
|
114
|
-
multi_json (1.11.0)
|
|
115
|
-
net-scp (1.2.1)
|
|
116
|
-
net-ssh (>= 2.6.5)
|
|
117
|
-
net-ssh (2.9.2)
|
|
118
|
-
nokogiri (1.6.6.2)
|
|
119
|
-
mini_portile (~> 0.6.0)
|
|
120
|
-
rake (10.4.2)
|
|
121
|
-
rspec (3.2.0)
|
|
122
|
-
rspec-core (~> 3.2.0)
|
|
123
|
-
rspec-expectations (~> 3.2.0)
|
|
124
|
-
rspec-mocks (~> 3.2.0)
|
|
125
|
-
rspec-core (3.2.3)
|
|
126
|
-
rspec-support (~> 3.2.0)
|
|
127
|
-
rspec-expectations (3.2.1)
|
|
128
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
129
|
-
rspec-support (~> 3.2.0)
|
|
130
|
-
rspec-mocks (3.2.1)
|
|
131
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
|
132
|
-
rspec-support (~> 3.2.0)
|
|
133
|
-
rspec-support (3.2.2)
|
|
134
|
-
|
|
135
|
-
PLATFORMS
|
|
136
|
-
ruby
|
|
137
|
-
|
|
138
|
-
DEPENDENCIES
|
|
139
|
-
bundler (~> 1.7)
|
|
140
|
-
egon!
|
|
141
|
-
fog (~> 1.31.0)
|
|
142
|
-
net-ssh (~> 2.9.2)
|
|
143
|
-
rake (~> 10.0)
|
|
144
|
-
rspec (~> 3.2.0)
|
data/egon-0.4.2.gem
DELETED
|
Binary file
|
data/pkg/egon-0.0.1.gem
DELETED
|
Binary file
|
data/pkg/egon-0.0.2.gem
DELETED
|
Binary file
|
data/rubygem-foreman_abrt.spec
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
# This package contains macros that provide functionality relating to
|
|
2
|
-
# Software Collections. These macros are not used in default
|
|
3
|
-
# Fedora builds, and should not be blindly copied or enabled.
|
|
4
|
-
# Specifically, the "scl" macro must not be defined in official Fedora
|
|
5
|
-
# builds. For more information, see:
|
|
6
|
-
# http://docs.fedoraproject.org/en-US/Fedora_Contributor_Documentation
|
|
7
|
-
# /1/html/Software_Collections_Guide/index.html
|
|
8
|
-
|
|
9
|
-
%{?scl:%scl_package rubygem-%{gem_name}}
|
|
10
|
-
%{!?scl:%global pkg_name %{name}}
|
|
11
|
-
|
|
12
|
-
%global gem_name foreman_abrt
|
|
13
|
-
|
|
14
|
-
%define rubyabi 1.9.1
|
|
15
|
-
%global foreman_dir /usr/share/foreman
|
|
16
|
-
%global foreman_bundlerd_dir %{foreman_dir}/bundler.d
|
|
17
|
-
%global foreman_pluginconf_dir %{foreman_dir}/config/settings.plugins.d
|
|
18
|
-
|
|
19
|
-
Summary: Display reports from Automatic Bug Reporting Tool in Foreman
|
|
20
|
-
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|
21
|
-
Version: 0.0.6
|
|
22
|
-
Release: 3%{?dist}
|
|
23
|
-
Group: Applications/System
|
|
24
|
-
License: GPLv3
|
|
25
|
-
URL: http://github.com/theforeman/foreman_abrt
|
|
26
|
-
Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem
|
|
27
|
-
|
|
28
|
-
Requires: foreman >= 1.8.0
|
|
29
|
-
|
|
30
|
-
%if 0%{?fedora} > 18
|
|
31
|
-
Requires: %{?scl_prefix_ruby}ruby(release)
|
|
32
|
-
%else
|
|
33
|
-
Requires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
|
|
34
|
-
%endif
|
|
35
|
-
Requires: %{?scl_prefix_ruby}rubygems
|
|
36
|
-
|
|
37
|
-
%if 0%{?fedora} > 18
|
|
38
|
-
BuildRequires: %{?scl_prefix_ruby}ruby(release)
|
|
39
|
-
%else
|
|
40
|
-
BuildRequires: %{?scl_prefix_ruby}ruby(abi) >= %{rubyabi}
|
|
41
|
-
%endif
|
|
42
|
-
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
|
43
|
-
BuildRequires: %{?scl_prefix_ruby}rubygems
|
|
44
|
-
|
|
45
|
-
BuildArch: noarch
|
|
46
|
-
|
|
47
|
-
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|
48
|
-
Provides: foreman-plugin-abrt
|
|
49
|
-
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}}
|
|
50
|
-
|
|
51
|
-
%description
|
|
52
|
-
This plugin allows you to see bug reports submitted by Automatic Bug Reporting
|
|
53
|
-
Tool.
|
|
54
|
-
|
|
55
|
-
%package doc
|
|
56
|
-
BuildArch: noarch
|
|
57
|
-
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|
58
|
-
%{?scl:Obsoletes: ruby193-rubygem-%{gem_name}-doc}
|
|
59
|
-
Summary: Documentation for rubygem-%{gem_name}
|
|
60
|
-
|
|
61
|
-
%description doc
|
|
62
|
-
This package contains documentation for rubygem-%{gem_name}.
|
|
63
|
-
|
|
64
|
-
%prep
|
|
65
|
-
%setup -n %{pkg_name}-%{version} -q -c -T
|
|
66
|
-
mkdir -p .%{gem_dir}
|
|
67
|
-
%{?scl:scl enable %{scl} "}
|
|
68
|
-
gem install --local --install-dir .%{gem_dir} \
|
|
69
|
-
--force %{SOURCE0} --no-rdoc --no-ri
|
|
70
|
-
%{?scl:"}
|
|
71
|
-
|
|
72
|
-
%build
|
|
73
|
-
|
|
74
|
-
%install
|
|
75
|
-
mkdir -p %{buildroot}%{gem_dir}
|
|
76
|
-
cp -a .%{gem_dir}/* \
|
|
77
|
-
%{buildroot}%{gem_dir}/
|
|
78
|
-
|
|
79
|
-
mkdir -p %{buildroot}%{foreman_bundlerd_dir}
|
|
80
|
-
cat <<GEMFILE > %{buildroot}%{foreman_bundlerd_dir}/%{gem_name}.rb
|
|
81
|
-
gem '%{gem_name}'
|
|
82
|
-
GEMFILE
|
|
83
|
-
|
|
84
|
-
%files
|
|
85
|
-
%dir %{gem_instdir}
|
|
86
|
-
%{gem_instdir}/app
|
|
87
|
-
%{gem_instdir}/config
|
|
88
|
-
%{gem_instdir}/db
|
|
89
|
-
%{gem_instdir}/lib
|
|
90
|
-
%exclude %{gem_cache}
|
|
91
|
-
%exclude %{gem_instdir}/.*
|
|
92
|
-
%exclude %{gem_instdir}/Rakefile
|
|
93
|
-
%exclude %{gem_instdir}/test
|
|
94
|
-
%{gem_spec}
|
|
95
|
-
%{foreman_bundlerd_dir}/%{gem_name}.rb
|
|
96
|
-
%doc %{gem_instdir}/LICENSE
|
|
97
|
-
|
|
98
|
-
%exclude %{gem_dir}/cache/%{gem_name}-%{version}.gem
|
|
99
|
-
|
|
100
|
-
%files doc
|
|
101
|
-
%doc %{gem_instdir}/LICENSE
|
|
102
|
-
%doc %{gem_instdir}/README.md
|
|
103
|
-
|
|
104
|
-
%posttrans
|
|
105
|
-
# We need to run the db:migrate after the install transaction
|
|
106
|
-
/usr/sbin/foreman-rake db:migrate >/dev/null 2>&1 || :
|
|
107
|
-
/usr/sbin/foreman-rake db:seed >/dev/null 2>&1 || :
|
|
108
|
-
(/sbin/service foreman status && /sbin/service foreman restart) >/dev/null 2>&1
|
|
109
|
-
exit 0
|
|
110
|
-
|
|
111
|
-
%changelog
|
|
112
|
-
* Wed Aug 26 2015 Dominic Cleal <dcleal@redhat.com> 0.0.6-3
|
|
113
|
-
- Converted to tfm SCL (dcleal@redhat.com)
|
|
114
|
-
|
|
115
|
-
* Mon Mar 23 2015 Dominic Cleal <dcleal@redhat.com> 0.0.6-2
|
|
116
|
-
- Remove unused apipie:cache call (dcleal@redhat.com)
|
|
117
|
-
|
|
118
|
-
* Thu Jan 15 2015 Martin Milata <mmilata@redhat.com> 0.0.6-1
|
|
119
|
-
- Update to foreman_abrt-0.0.6
|
|
120
|
-
|
|
121
|
-
* Fri Jan 09 2015 Martin Milata <mmilata@redhat.com> 0.0.5-1
|
|
122
|
-
- Update to foreman_abrt-0.0.5
|
|
123
|
-
|
|
124
|
-
* Fri Nov 14 2014 Martin Milata <mmilata@redhat.com> 0.0.4-1
|
|
125
|
-
- Update to foreman_abrt-0.0.4
|
|
126
|
-
|
|
127
|
-
* Tue Sep 30 2014 Martin Milata <mmilata@redhat.com> 0.0.3-1
|
|
128
|
-
- Update to foreman_abrt-0.0.3
|
|
129
|
-
|
|
130
|
-
* Tue Aug 26 2014 Martin Milata <mmilata@redhat.com> 0.0.2-1
|
|
131
|
-
- Update to foreman_abrt-0.0.2
|
|
132
|
-
|
|
133
|
-
* Mon Aug 11 2014 Martin Milata <mmilata@redhat.com> 0.0.1-1
|
|
134
|
-
- new package
|