[packages/busybox] - rel 2; use _host_base_arch instead of _arch (follow rpm-build-macros 989d3552496f7095602cdf4284a81

arekm arekm at pld-linux.org
Thu Jan 3 12:54:31 CET 2013


commit cbbddfaa84341d1bde19072505b300882b24a156
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Jan 3 12:54:28 2013 +0100

    - rel 2; use _host_base_arch instead of _arch (follow rpm-build-macros 989d3552496f7095602cdf4284a81ead89bdc34e change)

 busybox.spec | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/busybox.spec b/busybox.spec
index 30a9e79..cdacfa2 100644
--- a/busybox.spec
+++ b/busybox.spec
@@ -38,7 +38,7 @@ Summary(pt_BR.UTF-8):	BusyBox é um conjunto de utilitários UNIX em um único b
 Name:		busybox
 # stable line only
 Version:	1.20.2
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications
 Source0:	http://www.busybox.net/downloads/%{name}-%{version}.tar.bz2
@@ -72,7 +72,7 @@ BuildRequires:	dietlibc-static
 		%if %{with glibc}
 BuildRequires:	glibc-static
 		%else
-%if "%{_target_base_arch}" != "%{_arch}"
+%if "%{_target_base_arch}" != "%{_host_base_arch}"
 BuildRequires:	cross%{_target_base_arch}-uClibc-static
 %else
 	%ifarch ppc %{x8664}
@@ -91,7 +91,7 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		_bindir		/bin
 
-%if "%{_target_base_arch}" != "%{_arch}"
+%if "%{_target_base_arch}" != "%{_host_base_arch}"
 	%define CrossOpts CROSS="%{_target_cpu}-pld-linux-"
 %else
 	%define CrossOpts %{nil}
@@ -189,7 +189,7 @@ install %{SOURCE2} .config
 	%{CrossOpts} \
 	CC="%{__cc}"
 %else
-	%if "%{_target_base_arch}" != "%{_arch}"
+	%if "%{_target_base_arch}" != "%{_host_base_arch}"
 	CROSS="%{_target_cpu}-uclibc-" \
 	%endif
 	CC="%{_target_cpu}-uclibc-gcc"
@@ -220,7 +220,7 @@ install %{SOURCE1} .config
 	%{CrossOpts} \
 	CC="%{__cc}"
 %else
-	%if "%{_target_base_arch}" != "%{_arch}"
+	%if "%{_target_base_arch}" != "%{_host_base_arch}"
 	CROSS="%{_target_cpu}-uclibc-" \
 	%endif
 	CC="%{_target_cpu}-uclibc-gcc"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/busybox.git/commitdiff/cbbddfaa84341d1bde19072505b300882b24a156



More information about the pld-cvs-commit mailing list