Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantiago Collazo <scollazo@activitycentral.com>2012-10-25 14:43:17 (GMT)
committer Santiago Collazo <scollazo@activitycentral.com>2012-10-25 14:43:17 (GMT)
commit626c4f175fe14c82cd09f54edfeaae9ec39d8d99 (patch)
treea364d086fd193347a101fcfc1e65ccfd0edbf5a6
parent26df9a2f2d651c5520c2adf2c588d5f41ff24283 (diff)
Changed arm target version from v5 to v7
-rw-r--r--rpms/buildrpm.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rpms/buildrpm.sh b/rpms/buildrpm.sh
index d4e080e..19db988 100644
--- a/rpms/buildrpm.sh
+++ b/rpms/buildrpm.sh
@@ -129,9 +129,9 @@ sed '/ListPatches/d; /MakePatches/d' ~/rpmbuild/SPECS/$PACKAGE/$PACKAGE.spec -i
grep BuildRequires ~/rpmbuild/SPECS/$PACKAGE/$PACKAGE.spec |sed s/.*\ //|xargs yum -y install
rpmbuild --clean ~/rpmbuild/SPECS/$PACKAGE/$PACKAGE.spec
-if rpm -q glibc |grep -q armv5
+if rpm -q glibc |grep -q armv7
then
- rpmbuild --target armv5tel -ba ~/rpmbuild/SPECS/$PACKAGE/$PACKAGE.spec
+ rpmbuild --target armv7tel -ba ~/rpmbuild/SPECS/$PACKAGE/$PACKAGE.spec
else
rpmbuild -ba ~/rpmbuild/SPECS/$PACKAGE/$PACKAGE.spec
fi