[sugar-paint] fix build

Peter Robinson pbrobinson at fedoraproject.org
Sat May 5 10:01:50 UTC 2012


commit 63155e5000beec948a78f2822ed9803e885530c9
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Sat May 5 11:01:40 2012 +0100

    fix build

 sugar-paint.spec |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/sugar-paint.spec b/sugar-paint.spec
index a677d43..9c5ad43 100644
--- a/sugar-paint.spec
+++ b/sugar-paint.spec
@@ -10,9 +10,7 @@ Summary:        Paint activity for Sugar
 Group:          Sugar/Activities
 License:        GPLv2
 URL:            http://wiki.sugarlabs.org/go/Activities/Paint
-Source0:        http://activities.sugarlabs.org/sugar/downloads/file/26190/paint-%{version}.xo
-# Do not strip the .so file
-# Set LIB_DIR to "lib"
+Source0:        http://download.sugarlabs.org/sources/honey/Paint/Paint-%{version}.tar.bz2
 Patch0:         sugar-paint-Fedora.patch
 BuildRequires:  gettext
 BuildRequires:  gtk2-devel
@@ -26,7 +24,7 @@ Paint will provide a canvas for an individual or a group of children
 to express themselves creatively through drawing. 
 
 %prep
-%setup -q -n Paint.activity
+%setup -q -n Paint-%{version}
 
 # make sure to grab blob from the right location and remove prebuilt ones
 sed '49,53d' -i fill/Makefile
@@ -35,7 +33,7 @@ rm -rf fill/linux*
 
 %build
 make %{?_smp_mflags} V=1 -C fill LDFLAGS+=--build-id
-%{__python} setup.py build
+%{__python} ./setup.py build
 
 %install
 mkdir -p %{buildroot}%{python_sitearch}/fill/


More information about the scm-commits mailing list