Hello community,
here is the log from the commit of package python-cryptopp for openSUSE:Factory
checked in at Fri Jan 7 13:26:21 CET 2011.
--------
--- python-cryptopp/python-cryptopp.changes 2009-09-03 12:26:43.000000000 +0200
+++ /mounts/work_src_done/STABLE/python-cryptopp/python-cryptopp.changes 2010-12-18 22:21:43.000000000 +0100
@@ -1,0 +2,18 @@
+Sat Dec 18 21:10:17 UTC 2010 - andreas.hanke@gmx-topmail.de
+
+- add pycryptopp-unbundle.patch from Fedora to fix build
+- remove extraversion.h, not needed with system cryptopp
+- run tests
+- merged from package by Toni Graffy :
+ - remove duplicate documentation
+- merged from package by Pascal Bleser :
+ - remove tests
+
+-------------------------------------------------------------------
+Thu Dec 16 02:57:23 UTC 2010 - cristian.rodriguez@opensuse.org
+
+- Update to version 0.5.25
+- build with -fno-strict-aliasing
+- use system cryptopp library
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
pycryptopp-0.5.12.tar.bz2
New:
----
pycryptopp-0.5.25-disable-w-flag.patch
pycryptopp-0.5.25.tar.bz2
pycryptopp-unbundle.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-cryptopp.spec ++++++
--- /var/tmp/diff_new_pack.ru7BZG/_old 2011-01-07 13:19:36.000000000 +0100
+++ /var/tmp/diff_new_pack.ru7BZG/_new 2011-01-07 13:19:36.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package python-cryptopp (Version 0.5.12)
+# spec file for package python-cryptopp (Version 0.5.25)
#
-# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%define modname pycryptopp
Name: python-cryptopp
-Version: 0.5.12
+Version: 0.5.25
Release: 1
Summary: Python Wrappers for the Crypto++ Library
Url: http://allmydata.org/trac/pycryptopp
@@ -28,7 +28,9 @@
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
-BuildRequires: gcc-c++ python-devel
+BuildRequires: gcc-c++ libcryptopp-devel python-devel python-setuptools
+Patch0: pycryptopp-0.5.25-disable-w-flag.patch
+Patch1: pycryptopp-unbundle.patch
%description
RSA-PSS-SHA256 signatures, ECDSA(1363)/EMSA1(SHA-256) signatures, SHA-256
@@ -40,20 +42,32 @@
%prep
%setup -q -n %{modname}-%{version}
+%patch0
+%patch1 -p1
%build
-export CFLAGS="$RPM_OPT_FLAGS"
-export CXXFLAGS="$RPM_OPT_FLAGS"
-python setup.py build
+export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+python setup.py build --disable-embedded-cryptopp
%install
-python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
+python setup.py install --single-version-externally-managed --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
+rm -r \
+ $RPM_BUILD_ROOT%{_prefix}/cryptopp \
+ $RPM_BUILD_ROOT%{_datadir}/doc/%{modname} \
+ $RPM_BUILD_ROOT%{py_sitedir}/%{modname}/test \
+ $RPM_BUILD_ROOT%{py_sitedir}/%{modname}/testvectors
+
+%check
+python setup.py test
%clean
rm -rf %{buildroot}
-%files -f INSTALLED_FILES
+%files
%defattr(-,root,root)
-%doc COPYING.GPL README.txt
+%doc COPYING.GPL COPYING.TGPPL.html README.txt
+%{py_sitedir}/%{modname}
+%{py_sitedir}/%{modname}-%{version}-*.egg-info
%changelog
++++++ pycryptopp-0.5.25-disable-w-flag.patch ++++++
--- setup.py.orig
+++ setup.py
@@ -68,8 +68,6 @@ if DEBUG:
extra_compile_args.append("-Wall")
extra_link_args.append("-g")
undef_macros.append('NDEBUG')
-else:
- extra_compile_args.append("-w")
if DISABLE_EMBEDDED_CRYPTOPP:
# Link with a Crypto++ library that is already installed on the system.
++++++ pycryptopp-0.5.12.tar.bz2 -> pycryptopp-0.5.25.tar.bz2 ++++++
++++ 145468 lines of diff (skipped)
++++++ pycryptopp-unbundle.patch ++++++
Index: pycryptopp-0.5.25/setup.cfg
===================================================================
--- pycryptopp-0.5.25.orig/setup.cfg
+++ pycryptopp-0.5.25/setup.cfg
@@ -2,13 +2,13 @@
zip_ok = False
[aliases]
-build = darcsver --count-all-patches build
-test = darcsver --count-all-patches test
-sdist = darcsver --count-all-patches sdist
-install = darcsver --count-all-patches install
-bdist_egg = darcsver --count-all-patches bdist_egg
-trial = darcsver --count-all-patches trial
-sdist_dsc = darcsver --count-all-patches sdist_dsc
+#build = darcsver --count-all-patches build
+#test = darcsver --count-all-patches test
+#sdist = darcsver --count-all-patches sdist
+#install = darcsver --count-all-patches install
+#bdist_egg = darcsver --count-all-patches bdist_egg
+#trial = darcsver --count-all-patches trial
+#sdist_dsc = darcsver --count-all-patches sdist_dsc
[egg_info]
tag_build =
Index: pycryptopp-0.5.25/setup.py
===================================================================
--- pycryptopp-0.5.25.orig/setup.py
+++ pycryptopp-0.5.25/setup.py
@@ -8,8 +8,8 @@
import glob, os, platform, re, subprocess, sys
-egg = os.path.realpath(glob.glob('darcsver-*.egg')[0])
-sys.path.insert(0, egg)
+#egg = os.path.realpath(glob.glob('darcsver-*.egg')[0])
+#sys.path.insert(0, egg)
from setuptools import Extension, find_packages, setup
@@ -225,7 +225,7 @@ install_requires = ['setuptools >= 0.6a9
# that are already in use), you may need to add it to setup.cfg and configure
# it to run darcsver before your command, if you want the version number to be
# correct when that command runs. http://pypi.python.org/pypi/darcsver
-setup_requires.append('darcsver >= 1.6.3')
+#setup_requires.append('darcsver >= 1.6.3')
# setuptools_pyflakes is needed only if you want "./setup.py flakes" to run
# pyflakes on all the pycryptopp modules.
@@ -237,7 +237,7 @@ if 'flakes' in sys.argv[1:]:
# pycryptopp.egg-info/SOURCES.txt file present which contains a complete list
# of needed files.
# http://pypi.python.org/pypi/setuptools_darcs
-setup_requires.append('setuptools_darcs >= 1.0.5')
+#setup_requires.append('setuptools_darcs >= 1.0.5')
# stdeb is required to produce Debian files with "sdist_dsc".
# http://github.com/astraw/stdeb/tree/master
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org