From ff7ebd7613da8c9ee87b54c7703f34ccd92692f2 Mon Sep 17 00:00:00 2001 From: Tim Landscheidt Date: Fri, 8 Mar 2019 02:37:10 +0000 Subject: [PATCH] Fix requirement for %preun (instead of %postun) scriptlet --- golang.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/golang.spec b/golang.spec index a84da53..90f77a2 100644 --- a/golang.spec +++ b/golang.spec @@ -265,7 +265,7 @@ Obsoletes: golang-vet < 0-12.1 Obsoletes: golang-cover < 0-12.1 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. # This is an odd issue, still looking for a better fix.