summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-08-01 15:01:22 +0200
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>2013-08-01 15:01:22 +0200
commitcaaaf2c2112f6a80463445d3cb9285efe0d80c07 (patch)
tree14311e8dc1773c4392dc5de62301f824f67d0615
parentcbf3a11cf3dd3bd8c363e0212016153f2e65bfb5 (diff)
downloadceph-caaaf2c2112f6a80463445d3cb9285efe0d80c07.tar.gz
ceph.spec.in: merge back JUnit handling from SUSE spec
Merge back what we have in the (open)SUSE ceph spec file for JUnit. Add missing Requires and the package is named junit4 on some SUSE versions. Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
-rw-r--r--ceph.spec.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/ceph.spec.in b/ceph.spec.in
index d61be40de8f..1a22b12f5c4 100644
--- a/ceph.spec.in
+++ b/ceph.spec.in
@@ -238,6 +238,13 @@ 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.