JUnit is only needed by cephfs-java. Move the BuildRequires to this
subpackage.
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
%if 0%{?rhel_version} || 0%{?centos_version} || 0%{?fedora}
BuildRequires: snappy-devel
%endif
-BuildRequires: junit
#################################################################################
# specific
Requires: java
Requires: libcephfs_jni1 = %{version}-%{release}
BuildRequires: java-devel
+BuildRequires: junit
%description -n cephfs-java
This package contains the Java libraries for the Ceph File System.