[sugar-abacus] cleanup package
Peter Robinson
pbrobinson at fedoraproject.org
Fri Aug 26 10:43:07 UTC 2011
commit e91f7af1abbb46f4f5df7b400cc9ade219c593c6
Author: Peter Robinson <pbrobinson at gmail.com>
Date: Fri Aug 26 11:42:54 2011 +0100
cleanup package
sugar-abacus.spec | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/sugar-abacus.spec b/sugar-abacus.spec
index 90cdd0d..df263e7 100644
--- a/sugar-abacus.spec
+++ b/sugar-abacus.spec
@@ -11,6 +11,7 @@ License: LGPLv3+
URL: http://activities.sugarlabs.org/addon/4293
Source0: http://download.sugarlabs.org/sources/honey/Abacus/Abacus-%{version}.tar.bz2
+BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: sugar-toolkit
Requires: sugar
@@ -21,7 +22,7 @@ different mechanical counting systems developed by the ancient Romans and
Chinese. There are several different variants available for exploration: a
suanpan, the traditional Chinese abacus with 2 beads on top and 5 beads below;
a soroban, the traditional Japanese abacus with 1 bead on top and 4 beads below;
- the schety, the traditional Russian abacus, with 10 beads per column, with the
+the schety, the traditional Russian abacus, with 10 beads per column, with the
exception of one column with just 4 beads used for counting in fourths; and the
nepohualtzintzin, the traditional Mayan abacus, with 3 beads on top and 4 beads
below (it uses base 20).
@@ -33,17 +34,9 @@ below (it uses base 20).
python ./setup.py build
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}%{sugaractivitydir}
python ./setup.py install --prefix=$RPM_BUILD_ROOT/%{_prefix}
-# Remove files that shouldn't be shipped. Bad Walter!
-find %{buildroot} -name '*.orig' -exec rm -f {} ';'
-find %{buildroot} -name '*.rej' -exec rm -f {} ';'
-
-%clean
-rm -rf %{buildroot}
-
%files
%defattr(-,root,root,-)
%doc COPYING NEWS
More information about the scm-commits
mailing list