update requirements with python 3.10 [release 2.6.0-3mamba;Tue Aug 15 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 21:10:25 +01:00
parent ac525b86e7
commit ee233b9faa

View File

@ -1,58 +1,36 @@
Name: certbot
Version: 2.5.0
Release: 1mamba
Version: 2.6.0
Release: 3mamba
Summary: A fully-featured, extensible client for the Let's Encrypt CA
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://letsencrypt.org
## GITSOURCE https://github.com/letsencrypt/letsencrypt.git v0.1.0
Source: https://github.com/certbot/certbot.git/v%{version}/certbot-%{version}.tar.bz2
#Source: https://github.com/letsencrypt/letsencrypt.git/v%{version}/letsencrypt-%{version}.tar.bz2
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: libpython3-devel
BuildRequires: python3.7dist(acme)
BuildRequires: python3.7dist(configargparse)
BuildRequires: python3.7dist(configobj)
BuildRequires: python3.7dist(cryptography)
BuildRequires: python3.7dist(distro)
BuildRequires: python3.7dist(josepy)
BuildRequires: python3.7dist(parsedatetime)
BuildRequires: python3.7dist(pyrfc3339)
BuildRequires: python3.7dist(pytz)
BuildRequires: python3.7dist(setuptools)
BuildRequires: libpython310-devel
BuildRequires: python3.10dist(acme)
BuildRequires: python3.10dist(configargparse)
BuildRequires: python3.10dist(configobj)
BuildRequires: python3.10dist(cryptography)
BuildRequires: python3.10dist(distro)
BuildRequires: python3.10dist(josepy)
BuildRequires: python3.10dist(parsedatetime)
BuildRequires: python3.10dist(pyrfc3339)
BuildRequires: python3.10dist(pytz)
BuildRequires: python3.10dist(setuptools)
## AUTOBUILDREQ-END
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
Requires: python-pyrfc3339-py3
Requires: python-parsedatetime-py3
Requires: python-mock-py3
Requires: python-josepy-py3
Requires: python-configobj-py3
Requires: python-configargparse-py3
Requires: python-augeas-py310
#Requires: python-mock-py3
Requires: python-psutil-py310
Requires: python-requests-py310
Requires: python-six-py310
#Requires: python-zope-component-py3
#Requires: python-zope-interface-py3
Provides: letsencrypt
Obsoletes: letsencrypt < 1.31.0
@ -86,33 +64,33 @@ This package provides the postfix plugin.
%build
cd certbot
CFLAGS="%{optflags}" %{__python3} setup.py build
CFLAGS="%{optflags}" %{__python310} setup.py build
cd ..
for d in apache; do
cd certbot-$d
CFLAGS="%{optflags}" %{__python3} setup.py build
CFLAGS="%{optflags}" %{__python310} setup.py build
cd ..
done
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd certbot
%{__python3} setup.py install \
%{__python310} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python3_sitearch} \
--install-lib=%{python310_sitearch} \
--record=%{name}.filelist
cd ..
for d in apache; do
cd certbot-$d
%{__python3} setup.py install \
%{__python310} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{_includedir}/python \
--install-lib=%{python3_sitearch} \
--install-lib=%{python310_sitearch} \
--record=%{name}.filelist
cd ..
done
@ -130,19 +108,12 @@ systemctl -q is-enabled httpd >/dev/null && systemctl reload httpd
systemctl -q is-enabled nginx >/dev/null && systemctl reload nginx
_EOF
%posttrans
for v in 1.3.0 1.4.0 1.5.0 1.6.0; do
[ -e %{python3_sitearch}/certbot-${v}-py*.egg-info ] && \
rmdir %{python3_sitearch}/certbot-${v}-py*.egg-info
done
:
%files -f certbot/%{name}.filelist
%defattr(-,root,root)
%dir %{_sysconfdir}/letsencrypt
%attr(0755,root,root) %{_sysconfdir}/cron.weekly/certbot
%dir %{_localstatedir}/log/letsencrypt
%dir %{python3_sitearch}/certbot-%{version}-py*.egg-info
%dir %{python310_sitearch}/certbot-%{version}-py*.egg-info
%files apache -f certbot-apache/%{name}.filelist
%defattr(-,root,root)
@ -151,6 +122,15 @@ done
#%defattr(-,root,root)
%changelog
* Tue Aug 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-3mamba
- update requirements with python 3.10
* Tue Jul 18 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-2mamba
- rebuilt with python 3.10
* Wed May 10 2023 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Tue Apr 04 2023 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
- automatic version update by autodist