diff options
author | Alan Grosskurth <code@alan.grosskurth.ca> | 2013-10-05 23:52:16 -0700 |
---|---|---|
committer | Alan Grosskurth <code@alan.grosskurth.ca> | 2013-10-06 00:42:43 -0700 |
commit | 16dec28c02292e6650565d1031d7aa9fbdabfa00 (patch) | |
tree | b81dd80544954d3d5c7b77666f19705821fd2447 | |
parent | 82f6ec596c38da31566526525294e91481ad8d55 (diff) | |
download | ceph-16dec28c02292e6650565d1031d7aa9fbdabfa00.tar.gz |
ceph.spec.in: Always depend on junit4 (fixes bug #6216)
The RPM spec file currently lists `junit` as a dependency on all
platforms except recent versions of OpenSUSE. This is problematic
because `junit` refers to version 3.x, which doesn't satisfy the check
in the configure script:
configure: Cannot find junit4.jar (apt-get install junit4)
As a result, rpmbuild doesn't build `libcephfs-test.jar` and fails:
http://tracker.ceph.com/issues/6216
So let's depend on `junit4` in all cases. This package is provided by
all supported platforms (el6, fc17, fc18, fc19, opensuse12.2,
opensuse12, sles11), and my testing on CentOS 6 shows that rpmbuild
now succeeds and produces the expected `libcephfs_jni1` RPM.
-rw-r--r-- | ceph.spec.in | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ceph.spec.in b/ceph.spec.in index a60d87ad814..5d5d5867593 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -239,14 +239,8 @@ License: LGPL-2.0 Requires: java Requires: libcephfs_jni1 = %{version}-%{release} BuildRequires: java-devel -%if 0%{?suse_version} > 1220 Requires: junit4 BuildRequires: junit4 -%else -Requires: junit -BuildRequires: junit -%endif -BuildRequires: junit %description -n cephfs-java This package contains the Java libraries for the Ceph File System. |