Author: glen Date: Sat Jul 17 18:52:49 2010 GMT Module: packages Tag: HEAD ---- Log message: - optflags patch from fedora
---- Files affected: packages/python-Crypto: python-Crypto.spec (1.27 -> 1.28) , optflags.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/python-Crypto/python-Crypto.spec diff -u packages/python-Crypto/python-Crypto.spec:1.27 packages/python-Crypto/python-Crypto.spec:1.28 --- packages/python-Crypto/python-Crypto.spec:1.27 Sat Jul 17 20:48:03 2010 +++ packages/python-Crypto/python-Crypto.spec Sat Jul 17 20:52:44 2010 @@ -9,7 +9,8 @@ License: Public Domain and Python Group: Development/Languages/Python Source0: http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-%{version}.tar.gz -# Source0-md5: 1d3eb04f06e6f09a080bc37fb019f9bf +# Source0-md5: 1d3eb04f06e6f09a080bc37fb019f9bf +Patch0: optflags.patch URL: http://www.dlitz.net/software/pycrypto/ BuildRequires: python BuildRequires: python-devel >= 2.2 @@ -49,6 +50,7 @@ %prep %setup -q -n pycrypto-%{version} +%patch0 -p1 %build export CFLAGS="%{rpmcflags}" @@ -93,6 +95,9 @@ All persons listed below can be reached at <cvs_login>@pld-linux.org $Log$ +Revision 1.28 2010/07/17 18:52:44 glen +- optflags patch from fedora + Revision 1.27 2010/07/17 18:48:03 glen - up to 2.1.0, new home, new maintainer, clarified license ================================================================ Index: packages/python-Crypto/optflags.patch diff -u /dev/null packages/python-Crypto/optflags.patch:1.1 --- /dev/null Sat Jul 17 20:52:50 2010 +++ packages/python-Crypto/optflags.patch Sat Jul 17 20:52:44 2010 @@ -0,0 +1,28 @@ +--- pycrypto-2.1.0/setup.py.orig 2009-12-13 20:39:29.000000000 +0000 ++++ pycrypto-2.1.0/setup.py 2010-02-16 13:18:15.910546268 +0000 +@@ -124,25 +124,6 @@ + # Make assert() statements always work + self.__remove_compiler_option("-DNDEBUG") + +- # Choose our own optimization options +- for opt in ["-O", "-O0", "-O1", "-O2", "-O3", "-Os"]: +- self.__remove_compiler_option(opt) +- if self.debug: +- # Basic optimization is still needed when debugging to compile +- # the libtomcrypt code. +- self.__add_compiler_option("-O") +- else: +- # Speed up execution by tweaking compiler options. This +- # especially helps the DES modules. +- self.__add_compiler_option("-O3") +- self.__add_compiler_option("-fomit-frame-pointer") +- # Don't include debug symbols unless debugging +- self.__remove_compiler_option("-g") +- if USE_GCOV: +- self.__add_compiler_option("-fprofile-arcs") +- self.__add_compiler_option("-ftest-coverage") +- self.compiler.libraries += ['gcov'] +- + # Call the superclass's build_extensions method + build_ext.build_extensions(self) + ================================================================ ---- CVS-web: http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-Crypto/python-Crypto.spec?r1=1.27&r2=1.28&f=u _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
