remove old egg-info dirs causing errors to launch [release 1.7.0-2mamba;Sun Aug 23 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 21:10:20 +01:00
parent b3e4ae9529
commit 8d98022ec9

View File

@ -1,6 +1,6 @@
Name: certbot
Version: 1.6.0
Release: 1mamba
Version: 1.7.0
Release: 2mamba
Summary: A fully-featured, extensible client for the Let's Encrypt CA
Group: System/Libraries
Vendor: openmamba
@ -120,12 +120,19 @@ certbot renew
systemctl reload httpd
_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
#%{python_sitearch}/letsencrypt-%{version}-py*.egg-info/*
%dir %{python3_sitearch}/certbot-%{version}-py*.egg-info
%files apache -f certbot-apache/%{name}.filelist
%defattr(-,root,root)
@ -134,6 +141,12 @@ _EOF
#%defattr(-,root,root)
%changelog
* Sun Aug 23 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-2mamba
- remove old egg-info dirs causing errors to launch
* Wed Aug 05 2020 Automatic Build System <autodist@mambasoft.it> 1.7.0-1mamba
- automatic version update by autodist
* Wed Jul 08 2020 Automatic Build System <autodist@mambasoft.it> 1.6.0-1mamba
- automatic version update by autodist