diff --git a/certbot.spec b/certbot.spec index 2520636..7561648 100644 --- a/certbot.spec +++ b/certbot.spec @@ -14,7 +14,7 @@ Name: certbot Version: 0.34.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A free, automated certificate authority client License: ASL 2.0 @@ -230,7 +230,7 @@ install -dm 0755 %{buildroot}%{_sharedstatedir}/%{oldpkg} %check %if %{with python2} -%{__python2} setup.py test +(cd build/lib && %{__python2} ../../setup.py test) %endif %if %{with python3} %{__python3} setup.py test @@ -281,6 +281,9 @@ restorecon -R %{_sysconfdir}/letsencrypt || : %endif %changelog +* Tue May 28 2019 Eli Young - 0.34.2-3 +- Fix build on Python 2 + * Tue May 28 2019 Eli Young - 0.34.2-2 - Update --renew-hook to --deploy-hook (#1665755)