From 7327d9ab668dd46d421f05529040f5efcebb98057b57a03ec9763114a6c750c5 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 18 May 2018 12:10:46 +0000 Subject: [PATCH] follow unzip.spec for how to do u-a OBS-URL: https://build.opensuse.org/package/show/utilities/schily?expand=0&rev=24 --- schily.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schily.spec b/schily.spec index 325e27b..27f1001 100644 --- a/schily.spec +++ b/schily.spec @@ -656,7 +656,7 @@ true --install "%_bindir/mt" mt "%_bindir/smt" 10 \ --slave "%_mandir/man1/mt.1%ext_man" "mt.1%ext_man" "%_mandir/man1/smt.1%ext_man" -%preun mt +%postun mt if test "$1" = 0; then "%_sbindir/update-alternatives" --remove mt "%_bindir/smt" fi @@ -666,7 +666,7 @@ fi --install "%_sbindir/rmt" rmt "%_sbindir/srmt" 10 \ --slave "%_mandir/man8/rmt.1%ext_man" "rmt.1%ext_man" "%_mandir/man8/srmt.1%ext_man" -%preun rmt +%postun rmt if test "$1" = 0; then "%_sbindir/update-alternatives" --remove rmt "%_sbindir/srmt" fi