update requirements with python 3.10 [release 2.6.0-3mamba;Tue Aug 15 2023]
This commit is contained in:
parent
ac525b86e7
commit
ee233b9faa
92
certbot.spec
92
certbot.spec
@ -1,58 +1,36 @@
|
|||||||
Name: certbot
|
Name: certbot
|
||||||
Version: 2.5.0
|
Version: 2.6.0
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: A fully-featured, extensible client for the Let's Encrypt CA
|
Summary: A fully-featured, extensible client for the Let's Encrypt CA
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://letsencrypt.org
|
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/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
|
Patch0: python-letsencrypt-0.1.0-use-configargparse.patch
|
||||||
Patch1: letsencrypt-0.1.1-acme-0.1.1.patch
|
Patch1: letsencrypt-0.1.1-acme-0.1.1.patch
|
||||||
License: Apache License 2.0
|
License: Apache License 2.0
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython310-devel
|
||||||
BuildRequires: python3.7dist(acme)
|
BuildRequires: python3.10dist(acme)
|
||||||
BuildRequires: python3.7dist(configargparse)
|
BuildRequires: python3.10dist(configargparse)
|
||||||
BuildRequires: python3.7dist(configobj)
|
BuildRequires: python3.10dist(configobj)
|
||||||
BuildRequires: python3.7dist(cryptography)
|
BuildRequires: python3.10dist(cryptography)
|
||||||
BuildRequires: python3.7dist(distro)
|
BuildRequires: python3.10dist(distro)
|
||||||
BuildRequires: python3.7dist(josepy)
|
BuildRequires: python3.10dist(josepy)
|
||||||
BuildRequires: python3.7dist(parsedatetime)
|
BuildRequires: python3.10dist(parsedatetime)
|
||||||
BuildRequires: python3.7dist(pyrfc3339)
|
BuildRequires: python3.10dist(pyrfc3339)
|
||||||
BuildRequires: python3.7dist(pytz)
|
BuildRequires: python3.10dist(pytz)
|
||||||
BuildRequires: python3.7dist(setuptools)
|
BuildRequires: python3.10dist(setuptools)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: python3 >= %python3_version
|
Requires: python-augeas-py310
|
||||||
Requires: python-acme-py3 == %{version}
|
#Requires: python-mock-py3
|
||||||
#Requires: python-argparse
|
Requires: python-psutil-py310
|
||||||
Requires: python-augeas-py3
|
Requires: python-requests-py310
|
||||||
Requires: python-configobj-py3
|
Requires: python-six-py310
|
||||||
Requires: python-cryptography-py3
|
#Requires: python-zope-component-py3
|
||||||
Requires: python-configargparse-py3
|
#Requires: python-zope-interface-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
|
|
||||||
Provides: letsencrypt
|
Provides: letsencrypt
|
||||||
Obsoletes: letsencrypt < 1.31.0
|
Obsoletes: letsencrypt < 1.31.0
|
||||||
|
|
||||||
@ -86,33 +64,33 @@ This package provides the postfix plugin.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cd certbot
|
cd certbot
|
||||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
CFLAGS="%{optflags}" %{__python310} setup.py build
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
for d in apache; do
|
for d in apache; do
|
||||||
cd certbot-$d
|
cd certbot-$d
|
||||||
CFLAGS="%{optflags}" %{__python3} setup.py build
|
CFLAGS="%{optflags}" %{__python310} setup.py build
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
cd certbot
|
cd certbot
|
||||||
%{__python3} setup.py install \
|
%{__python310} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python3_sitearch} \
|
--install-lib=%{python310_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
for d in apache; do
|
for d in apache; do
|
||||||
cd certbot-$d
|
cd certbot-$d
|
||||||
%{__python3} setup.py install \
|
%{__python310} setup.py install \
|
||||||
-O1 --skip-build \
|
-O1 --skip-build \
|
||||||
--root="%{buildroot}" \
|
--root="%{buildroot}" \
|
||||||
--install-headers=%{_includedir}/python \
|
--install-headers=%{_includedir}/python \
|
||||||
--install-lib=%{python3_sitearch} \
|
--install-lib=%{python310_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
cd ..
|
cd ..
|
||||||
done
|
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
|
systemctl -q is-enabled nginx >/dev/null && systemctl reload nginx
|
||||||
_EOF
|
_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
|
%files -f certbot/%{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_sysconfdir}/letsencrypt
|
%dir %{_sysconfdir}/letsencrypt
|
||||||
%attr(0755,root,root) %{_sysconfdir}/cron.weekly/certbot
|
%attr(0755,root,root) %{_sysconfdir}/cron.weekly/certbot
|
||||||
%dir %{_localstatedir}/log/letsencrypt
|
%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
|
%files apache -f certbot-apache/%{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -151,6 +122,15 @@ done
|
|||||||
#%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Apr 04 2023 Automatic Build System <autodist@mambasoft.it> 2.5.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user