Fix requirement for %preun (instead of %postun) scriptlet

This commit is contained in:
Tim Landscheidt 2019-03-08 02:37:10 +00:00
parent c74b6b6cb8
commit ff7ebd7613

View File

@ -265,7 +265,7 @@ Obsoletes: golang-vet < 0-12.1
Obsoletes: golang-cover < 0-12.1 Obsoletes: golang-cover < 0-12.1
Requires(post): %{_sbindir}/update-alternatives Requires(post): %{_sbindir}/update-alternatives
Requires(postun): %{_sbindir}/update-alternatives Requires(preun): %{_sbindir}/update-alternatives
# We strip the meta dependency, but go does require glibc. # We strip the meta dependency, but go does require glibc.
# This is an odd issue, still looking for a better fix. # This is an odd issue, still looking for a better fix.