update to 0.15.1 [release 0.15.1-1mamba;Sat Dec 05 2015]
This commit is contained in:
parent
e6f1893174
commit
bb591500c6
@ -1,13 +1,13 @@
|
|||||||
Name: python-pyOpenSSL
|
Name: python-pyOpenSSL
|
||||||
Version: 0.9
|
Version: 0.15.1
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: Python interface to the OpenSSL library
|
Summary: Python interface to the OpenSSL library
|
||||||
Group: System/Libraries/Python
|
Group: System/Libraries/Python
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Automatic Build System <autodist@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://pyopenssl.sourceforge.net/
|
URL: http://pyopenssl.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/pyopenssl/pyOpenSSL-%{version}.tar.gz
|
Source: https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-%{version}.tar.gz
|
||||||
Patch0: python-pyOpenSSLL-0.7-openssl.patch
|
Patch0: python-pyOpenSSLL-0.7-openssl.patch
|
||||||
Patch1: python-pyOpenSSL-elinks.patch
|
Patch1: python-pyOpenSSL-elinks.patch
|
||||||
Patch2: python-pyOpenSSL-nopdfout.patch
|
Patch2: python-pyOpenSSL-nopdfout.patch
|
||||||
@ -22,6 +22,7 @@ BuildRequires: elinks
|
|||||||
BuildRequires: tetex-dvips
|
BuildRequires: tetex-dvips
|
||||||
BuildRequires: tetex-latex
|
BuildRequires: tetex-latex
|
||||||
BuildRequires: latex2html
|
BuildRequires: latex2html
|
||||||
|
Requires: python-cryptography
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -29,44 +30,38 @@ Python wrapper around a small subset of the OpenSSL library. Includes: X509 Cert
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pyOpenSSL-%{version}
|
%setup -q -n pyOpenSSL-%{version}
|
||||||
%patch0 -p1 -b .openssl097
|
#%patch0 -p1 -b .openssl097
|
||||||
%patch1 -p1 -b .elinks
|
#%patch1 -p1 -b .elinks
|
||||||
%patch2 -p1 -b .nopdfout
|
#%patch2 -p1 -b .nopdfout
|
||||||
#%patch3 -p1 -b .threadsafe
|
#%patch3 -p1 -b .threadsafe
|
||||||
|
|
||||||
# Fix permissions for debuginfo package
|
# Fix permissions for debuginfo package
|
||||||
%{__chmod} -x src/ssl/connection.c
|
#%{__chmod} -x src/ssl/connection.c
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
##sed -i "s|python|python2.6|" doc/Makefile
|
|
||||||
%make -C doc ps
|
|
||||||
%make -C doc text
|
|
||||||
#html
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%{__python} setup.py install \
|
%{__python} setup.py install \
|
||||||
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python_sitearch}
|
--install-lib=%{python_sitearch} \
|
||||||
|
--record=%{name}.filelist
|
||||||
|
|
||||||
|
#sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python_sitearch}/pyOpenSSL-%{version}-py%{python_version}.egg-info
|
|
||||||
%dir %{python_sitearch}/OpenSSL
|
|
||||||
%{python_sitearch}/OpenSSL/*.so
|
|
||||||
%{python_sitearch}/OpenSSL/*.py
|
|
||||||
%{python_sitearch}/OpenSSL/*.pyc
|
|
||||||
%dir %{python_sitearch}/OpenSSL/test
|
|
||||||
%{python_sitearch}/OpenSSL/test/*.py
|
|
||||||
%{python_sitearch}/OpenSSL/test/*.pyc
|
|
||||||
%doc README doc/pyOpenSSL.ps
|
|
||||||
#%doc doc/pyOpenSSL.txt
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Dec 05 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.15.1-1mamba
|
||||||
|
- update to 0.15.1
|
||||||
|
|
||||||
* Sat Jun 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-2mamba
|
* Sat Jun 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9-2mamba
|
||||||
- python 2.7 mass rebuild
|
- python 2.7 mass rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user