-
Notifications
You must be signed in to change notification settings - Fork 11
/
example.yml
65 lines (63 loc) · 1.51 KB
/
example.yml
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
# Recipe for collections
---
python33:
name: Python 3.3
packages:
- python33
- python
- python-setuptools
- python-docutils
- python-markupsafe
- python-jinja2:
macros:
with_docs: 0
- python-coverage
- python-nose:
macros:
with_docs: 0
- python-sphinx
- python-pygments
- python-jinja2
- python-nose
- python-simplejson
- python-virtualenv
- python-el6-only-package:
# This matches with el, el5, el6.
dist: "el[56]?"
- python-sqlalchemy
python27:
name: Python 2.7
packages:
- python27
- python
- python-setuptools
- python-docutils
- python-markupsafe
- python-jinja2:
macros:
with_docs: 0
- python-coverage
rh-ror50:
name: Ruby on Rails 5.0
packages:
- rh-ror50:
macros:
install_scl: 0
- rubygem-rspec
- rubygem-rspec-core:
replaced_macros:
need_bootstrap_set: 1
- rubygem-flexmock:
macros:
_with_bootstrap: 1
cmd:
- sed -i '/^BuildRequires.*rubygem(rspec)$/ s/^/#/' rubygem-flexmock.spec
- sed -i '/^%check$/,/^popd$/ s/^/#/' rubygem-flexmock.spec
- rubygem-railties:
# variable DIST (= value of command option --dist) is available.
# in cmd element.
cmd: |
# This matches with centos, centos7.
if [[ "${DIST}" =~ centos7? ]]; then
sed -i '/^patch -p2 < %{PATCH2}$/ s/^/#/' rubygem-railties.spec
fi