]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: merge back JUnit handling from SUSE spec 478/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 1 Aug 2013 13:01:22 +0000 (15:01 +0200)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Thu, 1 Aug 2013 13:01:22 +0000 (15:01 +0200)
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>
ceph.spec.in

index d61be40de8f94e64665e8ec5f045f602c28c3668..1a22b12f5c49152f16f196ebd2524dafe6616000 100644 (file)
@@ -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.