forked from Katello/hammer-cli-katello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrubygem-hammer_cli_katello.spec
440 lines (383 loc) · 19.8 KB
/
rubygem-hammer_cli_katello.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
%global gemname hammer_cli_katello
%global confdir hammer
%if (0%{?rhel} < 7 && 0%{?rhel} >= 1)
%global gem_dir /usr/lib/ruby/gems/1.8
%endif
%global geminstdir %{gem_dir}/gems/%{gemname}-%{version}
Summary: Katello command plugin for the Hammer CLI
Name: rubygem-%{gemname}
Version: 0.0.15
Release: 1%{?dist}
Group: Development/Languages
License: GPLv3
URL: http://github.com/theforeman/hammer-cli-katello
Source0: %{gemname}-%{version}.gem
Source1: katello.yml
%if !( 0%{?rhel} > 6 )
Requires: ruby(abi)
%endif
Requires: ruby(rubygems)
Requires: rubygem(hammer_cli) >= 0.1.3
Requires: rubygem(hammer_cli_foreman_tasks) >= 0.0.3
Requires: rubygem(hammer_cli_foreman_bootdisk)
Requires: rubygem(hammer_cli_foreman_docker)
BuildRequires: ruby(rubygems)
BuildRequires: rubygems-devel
BuildRequires: ruby
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
%description
Katello command plugin for the Hammer CLI.
%package doc
Summary: Documentation for %{name}
Group: Documentation
Requires: %{name} = %{version}-%{release}
BuildArch: noarch
%description doc
Documentation for %{name}
%prep
%setup -q -c -T
mkdir -p .%{gem_dir}
gem install --local --install-dir .%{gem_dir} \
--force %{SOURCE0}
%install
mkdir -p %{buildroot}%{_sysconfdir}/%{confdir}/cli.modules.d
install -m 755 %{SOURCE1} %{buildroot}%{_sysconfdir}/%{confdir}/cli.modules.d/katello.yml
mkdir -p %{buildroot}%{gem_dir}
cp -pa .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%files
%dir %{geminstdir}
%{geminstdir}/lib
%{geminstdir}/locale
%config(noreplace) %{_sysconfdir}/%{confdir}/cli.modules.d/katello.yml
%exclude %{gem_dir}/cache/%{gemname}-%{version}.gem
%{gem_dir}/specifications/%{gemname}-%{version}.gemspec
%files doc
%doc %{gem_dir}/doc/%{gemname}-%{version}
%changelog
* Tue Jul 07 2015 Stephen Benjamin <[email protected]> 0.0.15-1
- Version bump to 0.0.15 ([email protected])
- fixes #10948 - fix text for Limit field, BZ 1214675 ([email protected])
- Merge pull request #295 from ehelms/fixes-10600 ([email protected])
- Merge pull request #298 from adamruzicka/10561-repository_upload
- Fixes #10561,BZ1206734 - repository content-upload opens files one by one
- refs #10628 - add org back to content-view version commands, bz 1223086
- refs #10628 - add orgs and CVs back to puppet_module list, bz 1223086
- refs #10628 - adding back organization for puppet-module info, bz 1223086
- refs #10628 - adding back content-view[-id], BZ 1223086
- Fixes #10600: Cleanup incremental update options. ([email protected])
* Tue May 26 2015 Adam Price <[email protected]> 0.0.14-1
- fixes #10499 - switch content-host errata list to use correct resource
- fixes #10473 - do not support prior id on environment update
- Fixes #10456: Set composite to false if user does not specify it.
* Fri Apr 24 2015 Adam Price <[email protected]> 0.0.13-1
- bump to version 0.0.13 ([email protected])
* Fri Apr 17 2015 Eric D. Helms <[email protected]> 0.0.12-1
- bump to version 0.0.12 ([email protected])
- Merge pull request #291 from ehelms/fixes-9849 ([email protected])
- Merge pull request #289 from cfouant/cv-cli ([email protected])
- Fixes #9849: Prevent users from clearing content host facts unknowingly.
- fixes #9736 - fixes content-view-version param interfering with erratum
commands, BZ1201352 ([email protected])
- Fixes #9995: Only send content IDs that user passes during incremental
update. ([email protected])
- Add releasers for tito. ([email protected])
* Fri Mar 27 2015 Eric D. Helms <[email protected]> 0.0.11-1
- bump to version 0.0.11 ([email protected])
- refs #9628 - need to use params instead of options ([email protected])
* Tue Mar 24 2015 Eric D. Helms <[email protected]> 0.0.10-1
- bump to version 0.0.10 ([email protected])
- Merge pull request #287 from komidore64/bz1189478 ([email protected])
- Merge pull request #284 from stbenjam/9679 ([email protected])
- Merge pull request #282 from komidore64/new-version ([email protected])
- Merge pull request #280 from omaciel/master ([email protected])
- Fixes #9819 - No default values for Sync Plans. ([email protected])
- Merge pull request #285 from daviddavis/temp/20150312110618
- fixes #9628 - hcli-katello now accepts --prior or --prior-id, BZ1189478
- Merge pull request #281 from parthaa/containers ([email protected])
- Fixes #9732: Update incremental update based on server API changes.
- Fixes #9728 - Adding dependencies for hammer_cli_foreman_docker
- fixes #9679 - fix host collection erratum install ([email protected])
- Fixes #9666 - hammer content-host info having blank "Release Version" every
time ([email protected])
- Refs #9518, #9310 - Show container repo image name ([email protected])
* Thu Mar 05 2015 Adam Price <[email protected]> 0.0.9-1
- Merge pull request #279 from parthaa/cdn-enablement ([email protected])
- Merge pull request #272 from eLobato/patch-1 ([email protected])
- Refs #7796 - Shows docker registry names for CDN enablement ([email protected])
- Merge pull request #276 from mbacovsky/8227_docker_moved
- Merge pull request #278 from Katello/9537 ([email protected])
- Fixes #9537: update help text for host collection erratum, BZ1179473.
- Refs #8227 - docker commands moved to separate plugin
- Fixes #9183 - Remove duplicate key for content_view ([email protected])
* Tue Feb 24 2015 Eric D. Helms <[email protected]> 0.0.8-1
- Version bump to 0.0.8 ([email protected])
- fixes #9504 - rename available to installable ([email protected])
- Merge pull request #271 from daviddavis/temp/20150127110109
- Fixes #8203, #9226 - Docker counts displayed on repo info ([email protected])
- Merge pull request #274 from ehelms/fixes-8190 ([email protected])
- Fixes #8190: Show incremental updates for given content host.
- Fixes #8179,#8193: Add ability to incrementally update a content view
version. ([email protected])
- Fixes #9133 - Fixing docker tag name field in CLI ([email protected])
- Merge pull request #267 from cfouant/auto-attach ([email protected])
- fixes #9008 - fixing content-view puppet-module add ([email protected])
- Merge pull request #258 from daviddavis/temp/20141202134530
- Merge pull request #260 from daviddavis/temp/20141204105103
- Merge pull request #266 from daviddavis/temp/20150106162616
- fixes #8913 - add back content view options for content view version promote
- fixes #8891 - adds auto-attach to cli output, BZ1180285 ([email protected])
- Refs #8632 - Updating docker attributes ([email protected])
- Fixes #8583 - Renaming id attribute to avoid lookup ([email protected])
- Fixes #8547 - Showing error when no env params ([email protected])
* Fri Dec 19 2014 Adam Price <[email protected]> 0.0.7-1
- new package built with tito
* Wed Jun 11 2014 Jason Montleon <[email protected]> 0.0.4-6
- Fixes #6096 - override sub --system-id description ([email protected])
- Fixes #6071 - override CH --id desc ([email protected])
- Fixes #6056 - HC override desc create/update sysid ([email protected])
- Fixes #6055 - HC add/remove-content-host take uuid ([email protected])
- Fixes #5794 : Improve how Async commands are done in katello-cli.
- Fixes #6101 - lfenv conditional resolv prior ([email protected])
- Fixes #6079, bz 1103958 - Display org name of a capsule env ([email protected])
* Tue Jun 03 2014 Jason Montleon <[email protected]> 0.0.4-5
- Fixes #5802 HC update/create using system uuids ([email protected])
* Wed May 28 2014 Jason Montleon <[email protected]> 0.0.4-4
- correct hammer_cli_foreman_tasks dependency version ([email protected])
* Wed May 28 2014 Jason Montleon <[email protected]> 0.0.4-3
- update dependencies in rpm spec for 0.1.1 ([email protected])
* Wed May 28 2014 Jason Montleon <[email protected]> 0.0.4-2
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #175 from komidore64/version-bump ([email protected])
- Merge pull request #176 from dustint-rh/product_info_content
- Fixes #5893 - Fixes product info's content ([email protected])
- bump to version 0.0.4 ([email protected])
* Wed May 28 2014 Jason Montleon <[email protected]> 0.0.4-1
- update version to 0.0.4 ([email protected])
* Thu May 22 2014 Jason Montleon <[email protected]> 0.0.3-26
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #173 from iNecas/capsule ([email protected])
- Refs #5821 - address PR issues ([email protected])
- Refs #5821 - initial CLI support for the capsule commands ([email protected])
* Thu May 22 2014 Jason Montleon <[email protected]> 0.0.3-25
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #172 from bbuckingham/issue-5771 ([email protected])
- Merge pull request #168 from dustint-
rh/985393_searchables_resolve_by_uuid_only_uuid ([email protected])
- update releasers ([email protected])
- Fixes #5111 - product info did list options ([email protected])
- Merge pull request #164 from bkearney/bkearney/string_extract
- fixes #5771 - lifecycle-environment - fix the behavir of prior environment
- Fixes #5729 - content-host lookup by uuid ([email protected])
- Fixes #5658 - Latest String Extract ([email protected])
* Sat May 17 2014 Jason Montleon <[email protected]> 0.0.3-24
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- fixes #5598 - hammer cannot list repositories, BZ1094493
- Merge pull request #159 from bkearney/bkearney/5597 ([email protected])
- Fixes #5613 - Content Hosts outputs uuid bz1084722 ([email protected])
- Merge pull request #163 from bbuckingham/issue-5601 ([email protected])
- Merge pull request #162 from bbuckingham/issue-5602 ([email protected])
- fixes #5601, #5603 - host-collections: add support for update and add/remove-
content-host ([email protected])
- Merge pull request #155 from komidore64/rmi5028 ([email protected])
- Merge pull request #161 from bbuckingham/issue-5600 ([email protected])
- Merge pull request #160 from dustint-rh/update_readme_with_tasks
- fixes #5602 - host-collections: add command to list content-hosts
- fixes #5600 - fix host-collection copy command ([email protected])
- update README to also pull down hammer-cli-foreman-tasks ([email protected])
- Fixes #5597 - Exposes new data in the repository-set info command
- refs #5028 - organizations aren't a special case anymore
* Wed May 14 2014 Jason Montleon <[email protected]> 0.0.3-23
- fixes #5600 - fix host-collection copy command ([email protected])
- refs #5028 - organizations aren't a special case anymore
* Thu May 08 2014 Jason Montleon <[email protected]> 0.0.3-22
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #158 from bbuckingham/issue-5192 ([email protected])
- fixes #5192 - rename system-group to host-collection ([email protected])
* Wed May 07 2014 Jason Montleon <[email protected]> 0.0.3-21
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #157 from iNecas/repository-set-available
- Merge pull request #152 from dustint-
rh/bz1077893_redmine_5008_add_manifest_history ([email protected])
- Fixes #5569 - support --name for repository-set available-repositories
- Refs #5008 adds manifest history to subscriptions and organization
* Tue May 06 2014 Jason Montleon <[email protected]> 0.0.3-20
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #156 from dustint-
rh/bz985393_redmine5432_add_system_group_delete_command ([email protected])
- Fixed #5546 system_group info missing Total System ([email protected])
- Fixes #5432 adding system group delete command ([email protected])
- Merge pull request #153 from komidore64/rmi4919 ([email protected])
- Fixes #5199 - Add env and cv to output columns to Activation Key list command
- fixes #4919 - hammer systemgroup info has NO params, BZ1080475
- Refs #4311 - removing old scoped names functionality ([email protected])
- refs #4311 - including `label` for organization lookup ([email protected])
- refs #4311 - making rubocop happy ([email protected])
- removed log_api_calls setting ([email protected])
- fix in String#format ([email protected])
- Refs #4311 - read and write commands merged ([email protected])
- exception handler - process foreman style messages ([email protected])
- Refs #4311 - searchables, id resolver and option builders
* Mon May 05 2014 Jason Montleon <[email protected]> 0.0.3-19
- fix macros to work with RHEL 7 ([email protected])
* Wed Apr 30 2014 Jason Montleon <[email protected]> 0.0.3-18
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #150 from komidore64/rubocop ([email protected])
- fixes #5462 - adding some rubocop directives ([email protected])
- Merge pull request #105 from bkearney/bkearney/zanata
- Merge pull request #143 from iNecas/reposet-enable ([email protected])
- Merge pull request #147 from daviddavis/temp/20140423175044
- Fixes #5433 - Display redhat repo url ([email protected])
- Fixes #5420 - Fixes bad grammar message ([email protected])
- Fixes #5415 - Fixed problems with cv destroy commands ([email protected])
- Refs #4826 - Update cli to support new reposet approach ([email protected])
- Add zanata translation information ([email protected])
* Wed Apr 23 2014 Jason Montleon <[email protected]> 0.0.3-17
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- fixes #5182 - Rename Systems to Content Hosts ([email protected])
* Thu Apr 17 2014 Jason Montleon <[email protected]> 0.0.3-16
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #141 from daviddavis/cvv_deletion ([email protected])
- Refs #4811 - Allow users to delete content views from CLI
- Merge pull request #134 from komidore64/bz1078866 ([email protected])
- Fixes #5135 BZ 1085541; removed duplicate output. ([email protected])
- Refs #4957 - Allow users to delete content view versions
- Merge pull request #132 from daviddavis/temp/20140402123025
- Merge pull request #140 from daviddavis/cve-deletion ([email protected])
- Merge pull request #136 from daviddavis/temp/20140405071614
- Fixes #5048 - Fixing help text for composite option ([email protected])
- Fixes #5092 - Updating README with new config structure
- Refs #4818 - Allow users to remove a content view from environment
- Fixes #5070 - Disabling name for associate commands ([email protected])
- Fixes #5032 - hammer organization <info,list> --help types information
doubled, 1078866 ([email protected])
* Thu Apr 03 2014 Jason Montleon <[email protected]> 0.0.3-15
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Fixes #4984, #5001, #5010 - Repo enable/disable ([email protected])
* Wed Apr 02 2014 Jason Montleon <[email protected]> 0.0.3-14
- Merge remote-tracking branch 'upstream/master' into SATELLITE-6.0.3
- Merge pull request #122 from bkearney/bkearney/more-product-changes
- Merge pull request #128 from parthaa/good-bye-provider ([email protected])
- Fixes #4295 - Removing provider subcommands ([email protected])
- Fixes #4908 - Address provider and reposet usage testing
* Tue Apr 01 2014 Jason Montleon <[email protected]> 0.0.3-13
- Merge remote-tracking branch 'upstream/master' ([email protected])
- Merge pull request #129 from parthaa/repo-crud ([email protected])
- Fixes #4798 - Subscriptions and system groups for activation keys
- Fixes #4936 - Added repo info, update, delete ops ([email protected])
* Mon Mar 31 2014 Jason Montleon <[email protected]> 0.0.3-12
- Merge remote-tracking branch 'upstream/master' ([email protected])
- Fixes #4953 - Show sync plan description ([email protected])
- Merge pull request #127 from bkearney/bkearney/sync-plan-changes
- Changes to sync plan based on usage. ([email protected])
* Thu Mar 27 2014 Jason Montleon <[email protected]> 0.0.3-11
- update confdir ([email protected])
* Thu Mar 27 2014 Jason Montleon <[email protected]> 0.0.3-10
- update yml config location ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]> 0.0.3-9
- Merge remote-tracking branch 'upstream/master' ([email protected])
- Merge pull request #123 from daviddavis/temp/20140325083248
- Merge remote-tracking branch 'upstream/master' ([email protected])
- fixes #4885 - updated hammer-cli-katello deps ([email protected])
- Fixes #4837 - Adding i18n to strings ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]> 0.0.3-8
- update rpm spec file to match upstream and add katello.yml config
- update hammer_cli_foreman dependency ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]>
- update rpm spec file to match upstream and add katello.yml config
- update hammer_cli_foreman dependency ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]>
- update rpm spec file to match upstream and add katello.yml config
- update hammer_cli_foreman dependency ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]>
- update rpm spec file to match upstream and add katello.yml config
- update hammer_cli_foreman dependency ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]>
- update rpm spec file to match upstream and add katello.yml config
- update hammer_cli_foreman dependency ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]>
- update rpm spec file to match upstream and add katello.yml config
- update hammer_cli_foreman dependency ([email protected])
* Wed Mar 26 2014 Jason Montleon <[email protected]>
- update rpm spec file to match upstream and add katello.yml config
- update hammer_cli_foreman dependency ([email protected])
* Tue Feb 04 2014 Jason Montleon <[email protected]> 0.0.3-1
- update hammer_cli_katello to 0.0.3 ([email protected])
* Thu Jan 30 2014 Jason Montleon <[email protected]> 0.0.2-4
- add missing katello_api dependency ([email protected])
* Mon Jan 27 2014 Jason Montleon <[email protected]> 0.0.2-3
- fix packaging error ([email protected])
* Mon Jan 27 2014 Jason Montleon <[email protected]> 0.0.2-2
- new package built with tito