Author: thl
Update of /cvs/free/rpms/compat-python24/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv7091
Modified Files:
compat-python24.spec
Log Message:
change two more ifs to ifarchs
Index: compat-python24.spec
===================================================================
RCS file: /cvs/free/rpms/compat-python24/devel/compat-python24.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- compat-python24.spec 10 Aug 2008 05:49:59 -0000 1.2
+++ compat-python24.spec 10 Aug 2008 06:07:01 -0000 1.3
@@ -263,7 +263,8 @@
rm -f $RPM_BUILD_ROOT%{_libdir}/python%{pybasever}/email/test/data/audiotest.au
$RPM_BUILD_ROOT%{_libdir}/python%{pybasever}/test/audiotest.au
# Fix bug #143667: python should own /usr/lib/python2.x on 64-bit machines
-%if %{_lib} == lib64
+#if %{_lib} == lib64
+%ifarch x86_64 ppc64
install -d $RPM_BUILD_ROOT/usr/lib/python%{pybasever}/site-packages
%endif
@@ -332,7 +333,8 @@
%{_libdir}/python%{pybasever}/compiler
%{_libdir}/python%{pybasever}/plat-linux2
%{_libdir}/python%{pybasever}/hotshot
-%if %{_lib} == lib64
+#if %{_lib} == lib64
+%ifarch x86_64 ppc64
%attr(0755,root,root) %dir /usr/lib/python%{pybasever}
%attr(0755,root,root) %dir /usr/lib/python%{pybasever}/site-packages
%endif