diff --git a/unison213.spec b/unison213.spec index 18b66b2..230506d 100644 --- a/unison213.spec +++ b/unison213.spec @@ -46,8 +46,8 @@ BuildRequires: desktop-file-utils BuildRequires: gtk2-devel %endif -Requires(post): %{_sbindir}/alternatives -Requires(postun): %{_sbindir}/alternatives +Requires(posttrans): %{_sbindir}/alternatives +Requires(postun): %{_sbindir}/alternatives # Enforce the switch from unison to unisonN.NN Obsoletes: unison < 2.27.57-3 @@ -109,7 +109,7 @@ desktop-file-install --vendor fedora \ %clean rm -rf %{buildroot} -%post +%posttrans %if 0%{?build_gui} %define build_gui_slash \ %else