]> git.pld-linux.org Git - packages/python-M2Crypto.git/commitdiff
- updated to 0.22.3 auto/th/python-M2Crypto-0.22.3-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Feb 2014 18:54:37 +0000 (19:54 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 9 Feb 2014 18:54:37 +0000 (19:54 +0100)
- removed obsolete swig_sources patch

python-M2Crypto-swig_sources.patch [deleted file]
python-M2Crypto.spec

diff --git a/python-M2Crypto-swig_sources.patch b/python-M2Crypto-swig_sources.patch
deleted file mode 100644 (file)
index 7e109d5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nur m2crypto-0.16.orig/setup.py m2crypto-0.16/setup.py
---- m2crypto-0.16.orig/setup.py        2006-05-03 22:51:07.000000000 +0100
-+++ m2crypto-0.16/setup.py     2006-08-10 15:38:30.000000000 +0100
-@@ -48,7 +48,7 @@
-     # This copy of swig_sources is from Python 2.2.
--    def swig_sources (self, sources):
-+    def swig_sources (self, sources, extension = None):
-         """Walk the list of source files in 'sources', looking for SWIG
-         interface (.i) files.  Run SWIG on all that are found, and
index 1ff757aedd40802ce5fdff3f81ae50a48bd2137f..ef3c83a53d319a0c4e22ace411481764b013a3d4 100644 (file)
@@ -1,22 +1,21 @@
 Summary:       Python interface to OpenSSL
 Summary(pl.UTF-8):     Interfejs Pythona do OpenSSL
 Name:          python-M2Crypto
-Version:       0.21.1
+Version:       0.22.3
 Release:       1
 License:       BSD-like
 Group:         Libraries/Python
-Source0:       http://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
-# Source0-md5: f93d8462ff7646397a9f77a2fe602d17
-Patch0:                %{name}-swig_sources.patch
-Patch1:                %{name}-store2ssl.patch
-Patch2:                %{name}-swig.patch
-URL:           http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto
-BuildRequires: openssl-devel >= 0.9.7d
-BuildRequires: python-devel >= 1:2.5
+Source0:       https://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
+# Source0-md5: 573f21aaac7d5c9549798e72ffcefedd
+Patch0:                %{name}-store2ssl.patch
+Patch1:                %{name}-swig.patch
+URL:           http://chandlerproject.org/bin/view/Projects/MeTooCrypto
+BuildRequires: openssl-devel >= 0.9.8
+BuildRequires: python-devel >= 1:2.6
 BuildRequires: python-modules
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.219
-BuildRequires: swig-python >= 1.3.24
+BuildRequires: swig-python >= 2.0
 BuildRequires: unzip
 %pyrequires_eq python
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -40,9 +39,6 @@ M2Crypto udostępnia z poziomu Pythona następujące funkcje:
 %setup -q -n M2Crypto-%{version}
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
-
-find demo -type d -name CVS | xargs rm -rf
 
 %build
 %{__python} setup.py build
@@ -56,20 +52,16 @@ install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
        --optimize=2
 
 %py_postclean
-cp -r demo/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc CHANGES LICENCE README doc/*.html
+%doc README
 %dir %{py_sitedir}/M2Crypto
 %attr(755,root,root) %{py_sitedir}/M2Crypto/*.so
-%{py_sitedir}/M2Crypto/*.py[oc]
+%{py_sitedir}/M2Crypto/*.py[co]
 %dir %{py_sitedir}/M2Crypto/SSL
-%{py_sitedir}/M2Crypto/SSL/*.py[oc]
-%dir %{py_sitedir}/M2Crypto/PGP
-%{py_sitedir}/M2Crypto/PGP/*.py[oc]
+%{py_sitedir}/M2Crypto/SSL/*.py[co]
 %{py_sitedir}/M2Crypto-*.egg-info
-%{_examplesdir}/%{name}-%{version}
This page took 0.031811 seconds and 4 git commands to generate.