[spice-gtk] Fix patch applying for double dir structure

Hans de Goede jwrdegoede at fedoraproject.org
Tue Mar 1 13:11:42 UTC 2011


commit 9607e425c8817d2d88c376a5e89da0ba9e114015
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Tue Mar 1 15:14:57 2011 +0200

    Fix patch applying for double dir structure

 spice-gtk.spec |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/spice-gtk.spec b/spice-gtk.spec
index 5eb0195..9f1e7aa 100644
--- a/spice-gtk.spec
+++ b/spice-gtk.spec
@@ -120,7 +120,9 @@ snappy is a tool to capture screen-shots of a SPICE desktop.
 %prep
 %setup -q -n spice-gtk-%{version} -c
 %patch0 -p1 -b .build
+pushd spice-gtk-%{version}
 %patch1 -p1
+popd
 
 %if %{with_gtk3}
 cp -a spice-gtk-%{version} spice-gtk3-%{version}


More information about the scm-commits mailing list