rebuilt with python3 [release 1.3.0-2mamba;Sat Apr 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:10:19 +01:00
parent 027e9f372c
commit 4f4bca4a3b

View File

@ -1,6 +1,6 @@
Name: certbot
Version: 1.2.0
Release: 1mamba
Version: 1.3.0
Release: 2mamba
Summary: A fully-featured, extensible client for the Let's Encrypt CA
Group: System/Libraries
Vendor: openmamba
@ -14,31 +14,29 @@ Patch0: python-letsencrypt-0.1.0-use-configargparse.patch
Patch1: letsencrypt-0.1.1-acme-0.1.1.patch
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
Requires: python >= %python_version
Requires: python-augeas
Requires: python-mock
Requires: python-zope-component
Requires: python-zope-interface
Requires: python-requests
Requires: python-six
Requires: python-pythondialog
Requires: python-pyrfc3339
Requires: python-pyOpenSSL
Requires: python-parsedatetime
Requires: python-cryptography
Requires: python-configargparse
Requires: python-acme == %{version}
Requires: python-tz
Requires: python-psutil
Requires: python-configobj
Requires: python-setuptools
Requires: python-funcsigs >= 1.0
Requires: python-argparse
Requires: python-josepy
Requires: python-requests-toolbelt
Requires: python-distro
Requires: python3 >= %python3_version
Requires: python-acme-py3 == %{version}
#Requires: python-argparse
Requires: python-augeas-py3
Requires: python-configobj-py3
Requires: python-cryptography-py3
Requires: python-configargparse-py3
Requires: python-distro-py3
#Requires: python-funcsigs >= 1.0
Requires: python-josepy-py3
Requires: python-mock-py3
Requires: python-parsedatetime-py3
Requires: python-pyrfc3339-py3
#Requires: python-pythondialog
Requires: python-psutil-py3
Requires: python-requests-py3
Requires: python-setuptools-py3
Requires: python-six-py3
Requires: python-tz-py3
Requires: python-zope-component-py3
Requires: python-zope-interface-py3
Provides: letsencrypt
Obsoletes: letsencrypt
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -73,33 +71,33 @@ This package provides the postfix plugin.
%build
cd certbot
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python3} setup.py build
cd ..
for d in apache; do
cd certbot-$d
CFLAGS="%{optflags}" %{__python} setup.py build
CFLAGS="%{optflags}" %{__python3} setup.py build
cd ..
done
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd certbot
%{__python} setup.py install \
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
cd ..
for d in apache; do
cd certbot-$d
%{__python} setup.py install \
%{__python3} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python_sitearch} \
--install-lib=%{python3_sitearch} \
--record=%{name}.filelist
cd ..
done
@ -130,6 +128,12 @@ _EOF
#%defattr(-,root,root)
%changelog
* Sat Apr 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
- rebuilt with python3
* Wed Mar 04 2020 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Wed Feb 05 2020 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic version update by autodist