From 8d98022ec9baae20e54a29da6476738a295d9468 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:10:20 +0100 Subject: [PATCH] remove old egg-info dirs causing errors to launch [release 1.7.0-2mamba;Sun Aug 23 2020] --- certbot.spec | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/certbot.spec b/certbot.spec index 8b3840f..45c282f 100644 --- a/certbot.spec +++ b/certbot.spec @@ -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 1.7.0-2mamba +- remove old egg-info dirs causing errors to launch + +* Wed Aug 05 2020 Automatic Build System 1.7.0-1mamba +- automatic version update by autodist + * Wed Jul 08 2020 Automatic Build System 1.6.0-1mamba - automatic version update by autodist