diff --git a/pax.spec b/pax.spec index ff4ccb5..bddad0b 100644 --- a/pax.spec +++ b/pax.spec @@ -3,7 +3,7 @@ Summary: POSIX File System Archiver Name: pax Version: 3.4 -Release: 20%{?dist} +Release: 21%{?dist} License: BSD Group: Applications/Archiving Source: ftp://ftp.suse.com/pub/people/kukuk/pax/%{name}-%{version}.tar.bz2 @@ -74,10 +74,12 @@ rm -rf %{buildroot} %ghost %verify(not md5 size mode mtime) %{ALT_SL1_LINK} %post -# We need to remove old /usr/bin/pax binary because the following +# We need to remove old /usr/bin/pax binary and manpage because the following # 'update-alternatives' step does not do it itself. We may remove this once we -# are sure that pax >= 3.4-16 is installed on the system. -test -f %{ALT_LINK} && test ! -h %{ALT_LINK} && rm -rf %{ALT_LINK} +# are sure that pax >= 3.4-21 is installed on the system. +for i in "%{ALT_LINK}" "%{ALT_SL1_LINK}"; do + test -f "$i" && test ! -h "$i" && rm -rf "$i" +done %{ALTERNATIVES} \ --install %{ALT_LINK} %{ALT_NAME} %{ALT_PATH} 33 \ @@ -90,6 +92,9 @@ if [ $1 -eq 0 ]; then fi %changelog +* Mon Dec 08 2014 Pavel Raiskup - 3.4-21 +- alternatives: remove the non-symlink manual page also (#1161258) + * Sun Aug 17 2014 Fedora Release Engineering - 3.4-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild