Hello community, here is the log from the commit of package python-certbot for openSUSE:Factory checked in at 2019-05-14 13:43:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-certbot (Old) and /work/SRC/openSUSE:Factory/.python-certbot.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-certbot" Tue May 14 13:43:41 2019 rev:11 rq:702684 version:0.32.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-certbot/python-certbot.changes 2019-03-19 09:59:24.664078417 +0100 +++ /work/SRC/openSUSE:Factory/.python-certbot.new.5148/python-certbot.changes 2019-05-14 13:43:42.716683779 +0200 @@ -1,0 +2,5 @@ +Fri May 3 12:20:54 UTC 2019 - Marketa Calabkova <[email protected]> + +- Add migration script from old certbot to the new one (boo#1119619). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-certbot.spec ++++++ --- /var/tmp/diff_new_pack.Qp1Wfo/_old 2019-05-14 13:43:43.192684787 +0200 +++ /var/tmp/diff_new_pack.Qp1Wfo/_new 2019-05-14 13:43:43.240684889 +0200 @@ -85,6 +85,13 @@ %post %python_install_alternative certbot +# migrate from old certbot to new certbot +if test ! -h %{_sysconfdir}/certbot -a -e %{_sysconfdir}/certbot; then + echo "Migrating %{_sysconfdir}/certbot to %{_sysconfdir}/letsencrypt..." + mv %{_sysconfdir}/letsencrypt %{_sysconfdir}/letsencrypt.empty + mv %{_sysconfdir}/certbot %{_sysconfdir}/letsencrypt + cd %{_sysconfdir} ; ln -s letsencrypt certbot +fi %postun %python_uninstall_alternative certbot
