SPECS (AC-branch): poldek.spec - use x8664 macro

qboosh qboosh at pld-linux.org
Wed Nov 23 09:38:50 CET 2005


Author: qboosh                       Date: Wed Nov 23 08:38:50 2005 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- use x8664 macro

---- Files affected:
SPECS:
   poldek.spec (1.197.2.61 -> 1.197.2.62) 

---- Diffs:

================================================================
Index: SPECS/poldek.spec
diff -u SPECS/poldek.spec:1.197.2.61 SPECS/poldek.spec:1.197.2.62
--- SPECS/poldek.spec:1.197.2.61	Wed Nov 23 02:30:49 2005
+++ SPECS/poldek.spec	Wed Nov 23 09:38:45 2005
@@ -160,8 +160,8 @@
 %ifarch i386 i586 i686 ppc sparc alpha athlon
 %define		_ftp_arch	%{_target_cpu}
 %else
-%ifarch amd64
-%define		_ftp_arch	%{_target_cpu}
+%ifarch %{x8664}
+%define		_ftp_arch	amd64
 %define		_ftp_alt_arch	i686
 %else
 %ifarch i486
@@ -181,14 +181,14 @@
 %{?with_static:rm -f $RPM_BUILD_ROOT%{_bindir}/rpmvercmp}
 
 sed -e "s|%%ARCH%%|%{_ftp_arch}|g" \
-%ifarch amd64
+%ifarch %{x8664}
 	-e "s|%%ALT_ARCH%%|%{_ftp_alt_arch}|g" \
 %else
 	-e '/%%ALT_ARCH%%/d' \
 %endif
 	< %{SOURCE1} > $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/pld-source.conf
 
-%ifarch amd64
+%ifarch %{x8664}
 sed "s|%%ARCH%%|%{_ftp_alt_arch}|g" < %{SOURCE2} >> $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/pld-source.conf
 %endif
 
@@ -301,6 +301,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.197.2.62  2005/11/23 08:38:45  qboosh
+- use x8664 macro
+
 Revision 1.197.2.61  2005/11/23 01:30:49  pluto
 - oops, wrong branch, last commit reverted.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/poldek.spec?r1=1.197.2.61&r2=1.197.2.62&f=u




More information about the pld-cvs-commit mailing list