Hello community, here is the log from the commit of package python-pycrypto for openSUSE:Factory checked in at 2013-06-19 17:05:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycrypto (Old) and /work/SRC/openSUSE:Factory/.python-pycrypto.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycrypto" Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycrypto/python-pycrypto.changes 2013-04-24 16:00:31.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycrypto.new/python-pycrypto.changes 2013-06-19 17:05:08.000000000 +0200 @@ -1,0 +2,5 @@ +Wed Jun 12 15:18:46 UTC 2013 - [email protected] + +- add ignore-fastmath-warning.diff for SLE11 and older + +------------------------------------------------------------------- Old: ---- python3-pycrypto.changes python3-pycrypto.spec New: ---- ignore-fastmath-warning.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycrypto.spec ++++++ --- /var/tmp/diff_new_pack.MURv0n/_old 2013-06-19 17:05:08.000000000 +0200 +++ /var/tmp/diff_new_pack.MURv0n/_new 2013-06-19 17:05:08.000000000 +0200 @@ -24,6 +24,8 @@ License: Python-2.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/p/pycrypto/pycrypto-%{version}.tar.gz +# PATCH-FIX-SUSE: We don't have libgmp5 on SLE11 +Patch0: ignore-fastmath-warning.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gmp-devel BuildRequires: python-devel @@ -48,6 +50,9 @@ %prep %setup -q -n pycrypto-%{version} +%if 0%{?suse_version} < 1120 +%patch0 +%endif %build CFLAGS="%{optflags}" python setup.py build ++++++ ignore-fastmath-warning.diff ++++++ --- lib/Crypto/Util/number.py +++ lib/Crypto/Util/number.py @@ -52,10 +52,6 @@ # "not being in the path. _fastmath was found at "+_fm_path) _fastmath = None -# You need libgmp v5 or later to get mpz_powm_sec. Warn if it's not available. -if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC: - _warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning) - # New functions from _number_new import * -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
