diff options
-rw-r--r-- | glusterfs.spec.in | 5 | ||||
-rwxr-xr-x | run-tests.sh | 14 |
2 files changed, 4 insertions, 15 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index cd300ebd621..4267b79e596 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -411,7 +411,7 @@ Requires: %{name}-server = %{version}-%{release} ## thin provisioning support Requires: lvm2 >= 2.02.89 Requires: perl(App::Prove) perl(Test::Harness) gcc util-linux-ng -Requires: python attr dbench file git libacl-devel mock net-tools +Requires: python attr dbench file git libacl-devel net-tools Requires: nfs-utils xfsprogs yajl %description regression-tests @@ -1030,6 +1030,9 @@ fi %ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid %changelog +* Fri Jan 30 2015 Nandaja Varma <nvarma@redhat.com> +- remove checks for rpmbuild/mock from run-tests.sh (#178008) + * Fri Jan 16 2015 Niels de Vos <ndevos@redhat.com> - add support for /run/gluster through a tmpfiles.d config file (#1182934) diff --git a/run-tests.sh b/run-tests.sh index aabf1da159a..d6de6c6c31a 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -20,20 +20,6 @@ function check_dependencies() MISSING="$MISSING git" fi - # basic/rpm.t uses mock, which assumes Linux as the OS - if [ "x`uname -s`" = "xLinux" ] ; then - # Check for mock - if [ ! -e /usr/bin/mock ]; then - MISSING="$MISSING mock" - fi - - # Check for rpmbuild - env rpmbuild --version > /dev/null 2>&1 - if [ $? -ne 0 ]; then - MISSING="$MISSING rpmbuild" - fi - fi - # Check for nfs-utils (Linux-only: built-in NetBSD with different name) if [ "x`uname -s`" = "xLinux" ] ; then env mount.nfs -V > /dev/null 2>&1 |