--- /dev/null
+--- depot_tools-0.1/fetch.py~ 2013-06-19 17:56:10.000000000 +0300
++++ depot_tools-0.1/fetch.py 2013-12-11 21:22:06.260143708 +0200
+@@ -29,6 +29,8 @@
+
+ SCRIPT_PATH = os.path.dirname(os.path.abspath(__file__))
+
++# insert it into $PATH, so wouldn't need to put all interanl bins to $PATH, like download_from_google_storage
++os.environ['PATH'] += os.pathsep + SCRIPT_PATH
+
+ #################################################
+ # Checkout class definitions.
%define snap 20130619
-%define rel 0.9
+%define rel 0.10
Summary: A package of scripts called used to manage checkouts and code reviews
Name: depot_tools
Version: 0.1
Group: Development/Tools
Source0: https://src.chromium.org/svn/trunk/tools/depot_tools.zip?/%{name}-svn%{snap}.zip
# Source0-md5: 6cf6483d6da8d15848cbaa8857aae3ae
+Patch0: adjust-path.patch
URL: http://dev.chromium.org/developers/how-tos/depottools
BuildRequires: unzip
Requires: python
%setup -qc
mv depot_tools/* .
rm -r depot_tools
+%patch0 -p1
cat > py-wrap.sh <<'EOF'
#!/bin/sh