rpms/m2crypto/devel m2crypto.spec,1.33,1.34

Miloslav Trmac (mitr) fedora-extras-commits at redhat.com
Wed Jul 11 21:52:51 UTC 2007


Author: mitr

Update of /cvs/pkgs/rpms/m2crypto/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1777

Modified Files:
	m2crypto.spec 
Log Message:
* Wed Jul 11 2007 Miloslav Trmač <mitr at redhat.com> - 0.17-3
- Try to fix build on Alpha
  Resolves: #246828



Index: m2crypto.spec
===================================================================
RCS file: /cvs/pkgs/rpms/m2crypto/devel/m2crypto.spec,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- m2crypto.spec	26 Apr 2007 23:05:18 -0000	1.33
+++ m2crypto.spec	11 Jul 2007 21:52:15 -0000	1.34
@@ -1,9 +1,12 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
+# Keep this value in sync with the definition in openssl.spec.
+%define multilib_arches %{ix86} ia64 ppc ppc64 s390 s390x x86_64
+
 Summary: Support for using OpenSSL in python scripts
 Name: m2crypto
 Version: 0.17
-Release: 2
+Release: 3
 Source0: http://wiki.osafoundation.org/pub/Projects/MeTooCrypto/m2crypto-%{version}.tar.gz
 Patch0: m2crypto-0.17-timeouts.patch
 Patch1: m2crypto-0.17-Py_ssize_t.patch
@@ -33,7 +36,9 @@
 %ifarch %{ix86}
 basearch=i386
 %endif
+%ifarch %{multilib_arches}
 sed -i -e "s/opensslconf/opensslconf-${basearch}/" SWIG/_ec.i
+%endif
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" ; export CFLAGS
@@ -73,6 +78,10 @@
 %{python_sitearch}/M2Crypto
 
 %changelog
+* Wed Jul 11 2007 Miloslav Trmač <mitr at redhat.com> - 0.17-3
+- Try to fix build on Alpha
+  Resolves: #246828
+
 * Fri Apr 27 2007 Miloslav Trmac <mitr at redhat.com> - 0.17-2
 - Make m2xmlrpclib work with Python 2.5
   Resolves: #237902




More information about the scm-commits mailing list