diff --git a/gssproxy.spec b/gssproxy.spec index d08d457..ddbd343 100644 --- a/gssproxy.spec +++ b/gssproxy.spec @@ -1,6 +1,6 @@ Name: gssproxy Version: 0.7.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: GSSAPI Proxy Group: System Environment/Libraries @@ -113,21 +113,6 @@ rm -rf %{buildroot} %post %systemd_post gssproxy.service -%triggerun -- gssproxy -old_ver=$(rpm -q --qf '%%{VERSION}\n' gssproxy | sort -V | head -n 1 | tr -d '\n') - -old_rel=$(rpm -q --qf '%%{RELEASE}\n' gssproxy | sort -V | head -n 1 | tr -d '\n') -old_rel=${old_rel%%.*} - -# if nfs-utils is not present, the user doesn't want this file around -if [[ $old_ver < 0.7.0 || ( $old_ver = 0.7.0 && $old_rel < 7 ) ]]; then - rpm -q --qf '%%{VERSION}\n' nfs-utils >/dev/null 2>&1 - if [[ $! != 0 ]]; then - rm -f /etc/gssproxy/24-nfs-server.conf 2>/dev/null || true - fi -fi -exit 0 - %preun %systemd_preun gssproxy.service @@ -135,6 +120,9 @@ exit 0 %systemd_postun_with_restart gssproxy.service %changelog +* Wed May 24 2017 Robbie Harwood - 0.7.0-8 +- Remove (buggy?) logic around NFS snippet. + * Wed May 17 2017 Robbie Harwood - 0.7.0-7 - Remove NFS server stanza if nfs-utils not present - Also update gcc7 patch to match upstream