[mygui] Set the build directory to match current archive name

Bruno Wolff III bruno at fedoraproject.org
Mon Dec 10 13:19:44 UTC 2012


commit 76f3a7f37174024f910ec1e984330be099af5a01
Author: Bruno Wolff III <bruno at wolff.to>
Date:   Tue Dec 4 12:22:47 2012 -0600

    Set the build directory to match current archive name

 mygui.spec |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/mygui.spec b/mygui.spec
index 117fd18..ed4eac5 100644
--- a/mygui.spec
+++ b/mygui.spec
@@ -6,7 +6,7 @@ Group:          Development/Libraries
 # UnitTests include agg-2.4, which is under a BSD variant (not built or installed here)
 License:        LGPLv3+ 
 URL:            http://mygui.info/
-Source0:        http://downloads.sourceforge.net/my-gui/MyGUI_3.2.0.zip
+Source0:        http://downloads.sourceforge.net/my-gui/MyGUI_%{version}.zip
 # Helper to run demos, based on A. Torkhov Ogre-Samples shipped with ogre-samples
 Source1:        MyGUI-Demos
 # Another helper for the tools
@@ -89,7 +89,7 @@ An helper script MyGUI-Tools is provided and installed in %{_bindir}.
 
 
 %prep
-%setup -q
+%setup -n MyGUI_%{version}
 %patch0 -p0
 %patch1 -p0
 %patch2 -p0


More information about the scm-commits mailing list