[Zim/f14/master] - Move building command to %build section

cheeselee cheeselee at fedoraproject.org
Mon Aug 30 15:55:14 UTC 2010


commit 1d7cd228a601de05bbd7ac099163cb7b3892501a
Author: Robin Lee <robinlee.sysu at gmail.com>
Date:   Mon Aug 30 23:54:46 2010 +0800

    - Move building command to %build section

 Zim.spec |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/Zim.spec b/Zim.spec
index 31c3f1a..168ac52 100644
--- a/Zim.spec
+++ b/Zim.spec
@@ -4,7 +4,7 @@
 
 Name:           Zim
 Version:        0.48
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Desktop wiki & notekeeper
 
 Group:          Applications/Editors
@@ -33,11 +33,10 @@ or to serve as a personal scratch book.
 %setup -q -n zim-%{version}
 
 %build
-
+./setup.py build
 
 %install
 rm -rf %{buildroot}
-./setup.py build
 ./setup.py install --root=%{buildroot} --skip-xdg-cmd --skip-build
 
 desktop-file-install --delete-original \
@@ -86,6 +85,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{python_sitelib}/zim/
 
 %changelog
+* Mon Aug 30 2010 Robin Lee <robinlee.sysu at gmail.com> - 0.48-2
+- Move building command to %%build section
+
 * Sat Aug 28 2010 Robin Lee <robinlee.sysu at gmail.com> - 0.48-1
 - update to 0.48
 - include more icons


More information about the scm-commits mailing list