Skip to content

Commit 5fead2c

Browse files
committed
Adding some requires for F16 - namely moving commons-* to apache-commons and jakarta-commons, and adding libcgroup-tools
1 parent a85864e commit 5fead2c

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

‎cloud.spec‎

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,6 @@ Requires: %{name}-python = %{version}
149149
Requires: tomcat6
150150
Requires: ws-commons-util
151151
#Requires: commons-codec
152-
Requires: commons-dbcp
153-
Requires: commons-collections
154-
Requires: commons-httpclient
155152
Requires: jpackage-utils
156153
Requires: sudo
157154
Requires: /sbin/service
@@ -162,6 +159,18 @@ Requires: MySQL-python
162159
Requires: python-paramiko
163160
Requires: ipmitool
164161
Requires: %{name}-utils = %{version}
162+
%if 0%{?fedora} > 14
163+
Requires: apache-commons-dbcp
164+
Requires: apache-commons-collections
165+
Requires: jakarta-commons-httpclient
166+
%endif
167+
168+
%if 0%{?rhel} >= 5
169+
Requires: commons-dbcp
170+
Requires: commons-collection
171+
Requires: commons-httpclient
172+
%endif
173+
165174
Group: System Environment/Libraries
166175
%description client
167176
The Cloud.com management server is the central point of coordination,
@@ -231,6 +240,9 @@ Requires: qemu-img
231240
%endif
232241

233242
Requires: libcgroup
243+
%if 0%{?fedora} >= 16
244+
Requires: libcgroup-tools
245+
%endif
234246
Requires: /usr/bin/uuidgen
235247
Requires: rsync
236248
Requires: /bin/egrep

0 commit comments

Comments
 (0)