--- libgphoto2-2.1.1/configure	2002-12-01 21:46:42.000000000 +0000
+++ libgphoto2-2.1.1/configure	2003-08-18 17:32:26.000000000 +0100
@@ -13865,14 +13865,9 @@
 # packages we're going to build will depend on libusb and libusb-devel
 # RPM packages or not.
 
-
-if rpm -q libusb-devel > /dev/null 2>&1; then
+# remove rpm -q test to avoid breaking sandbox
   RPM_LIBUSB_DEVEL_TRUE=
   RPM_LIBUSB_DEVEL_FALSE='#'
-else
-  RPM_LIBUSB_DEVEL_TRUE='#'
-  RPM_LIBUSB_DEVEL_FALSE=
-fi
 
 
 	# effective_target has to be determined in advance