diff --git a/certbot.spec b/certbot.spec index 252dc77..891b773 100644 --- a/certbot.spec +++ b/certbot.spec @@ -1,5 +1,5 @@ Name: certbot -Version: 0.40.1 +Version: 1.0.0 Release: 1mamba Summary: A fully-featured, extensible client for the Let's Encrypt CA Group: System/Libraries @@ -72,7 +72,9 @@ This package provides the postfix plugin. #%patch1 -p1 %build +cd certbot CFLAGS="%{optflags}" %{__python} setup.py build +cd .. for d in apache; do cd certbot-$d @@ -82,12 +84,14 @@ done %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd certbot %{__python} setup.py install \ -O1 --skip-build \ --root="%{buildroot}" \ --install-headers=%{_includedir}/python \ --install-lib=%{python_sitearch} \ --record=%{name}.filelist +cd .. for d in apache; do cd certbot-$d @@ -112,7 +116,7 @@ certbot renew systemctl reload httpd _EOF -%files -f %{name}.filelist +%files -f certbot/%{name}.filelist %defattr(-,root,root) %dir %{_sysconfdir}/letsencrypt %attr(0755,root,root) %{_sysconfdir}/cron.weekly/certbot @@ -126,6 +130,9 @@ _EOF #%defattr(-,root,root) %changelog +* Sun Dec 08 2019 Automatic Build System 1.0.0-1mamba +- automatic version update by autodist + * Wed Nov 20 2019 Automatic Build System 0.40.1-1mamba - automatic version update by autodist