]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: junit always except for EPEL 6 3600/head
authorLoic Dachary <ldachary@redhat.com>
Tue, 3 Feb 2015 15:14:23 +0000 (16:14 +0100)
committerLoic Dachary <ldachary@redhat.com>
Tue, 10 Feb 2015 23:02:28 +0000 (00:02 +0100)
The package was renamed a long time ago (around the Fedora 15
timeframe). The "junit4" name is only relevant for EPEL 6. For EPEL 7
and Fedora 20, the "junit" package has "Provides: junit4". And most
recently, in the junit package that ships in Fedora 21 and 22, the
package maintainer dropped the old Provides: line.

http://tracker.ceph.com/issues/10728 Fixes: #10728

Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Signed-off-by: Loic Dachary <ldachary@redhat.com>
ceph.spec.in

index 9da9f5e0fe8c424fd4dca667ba0395fc47bd84ac..10e317a9be3178ef927b145f36e7bb9a6e6dfcdb 100644 (file)
@@ -282,8 +282,13 @@ License:   LGPL-2.0
 Requires:      java
 Requires:      libcephfs_jni1 = %{epoch}:%{version}-%{release}
 BuildRequires: java-devel
+%if 0%{?el6}
 Requires:      junit4
 BuildRequires: junit4
+%else
+Requires:       junit
+BuildRequires:  junit
+%endif
 %description -n cephfs-java
 This package contains the Java libraries for the Ceph File System.