SPECS: python-pyOpenSSL.spec - up to 0.8 - patches for 0.8 updated with Arn...

duddits duddits at pld-linux.org
Mon Mar 30 10:54:45 CEST 2009


Author: duddits                      Date: Mon Mar 30 08:54:45 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.8
- patches for 0.8 updated with Arnaud Desmons' consent <arnaud dot desmons at free dot fr>
- %build
- %files

---- Files affected:
SPECS:
   python-pyOpenSSL.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/python-pyOpenSSL.spec
diff -u SPECS/python-pyOpenSSL.spec:1.19 SPECS/python-pyOpenSSL.spec:1.20
--- SPECS/python-pyOpenSSL.spec:1.19	Sat Mar 14 01:09:30 2009
+++ SPECS/python-pyOpenSSL.spec	Mon Mar 30 10:54:39 2009
@@ -3,12 +3,12 @@
 Summary:	Binding of OpenSSL for Python
 Summary(pl.UTF-8):	Interfejs OpenSSL dla Pythona
 Name:		python-%{module}
-Version:	0.6
-Release:	6
+Version:	0.8
+Release:	1
 License:	LGPL
 Group:		Libraries/Python
 Source0:	http://dl.sourceforge.net/pyopenssl/%{module}-%{version}.tar.gz
-# Source0-md5:	6200b71d3eb294a312d52c4825fc71c5
+# Source0-md5:	00377690f224d9e59c833fb0459603f4
 Patch0:		%{module}-%{version}-pkcs12.patch
 Patch1:		%{module}-%{version}-crl.patch
 Patch2:         %{module}-%{version}-pkcs12_cafile.patch
@@ -49,28 +49,34 @@
 %patch1 -p1
 %patch2 -p1
 
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
 
-python setup.py install \
+%{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--install-lib=%{py_sitedir} \
 	--optimize=2
 
-find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm {} \;
+find $RPM_BUILD_ROOT%{py_sitedir} -name \*.py -exec rm -f {} \;
 
-cp -ra examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc README ChangeLog TODO doc/pyOpenSSL.{ps,txt}
+%doc README ChangeLog TODO 
 %dir %{py_sitedir}/OpenSSL
+%dir %{py_sitedir}/OpenSSL/test
 %attr(755,root,root) %{py_sitedir}/OpenSSL/*.so
 %{py_sitedir}/OpenSSL/*.py[oc]
+%{py_sitedir}/OpenSSL/test/*.py[oc]
 %{py_sitedir}/*.egg-info
 
 %files examples
@@ -83,6 +89,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2009/03/30 08:54:39  duddits
+- up to 0.8
+- patches for 0.8 updated with Arnaud Desmons' consent <arnaud dot desmons at free dot fr>
+- %build
+- %files
+
 Revision 1.19  2009/03/14 00:09:30  hawk
 - release 6
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-pyOpenSSL.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list