Remove obsolete triggerruns for migration to systemd

- overlapping versions are not supported by current rpm
This commit is contained in:
Jakub Jelen 2015-07-28 13:04:02 +02:00
parent 6286d6a8e6
commit 1d50678457

View File

@ -660,15 +660,6 @@ getent passwd sshd >/dev/null || \
%postun server
%systemd_postun_with_restart sshd.service
%triggerun -n openssh-server -- openssh-server < 5.8p2-12
/usr/bin/systemd-sysv-convert --save sshd >/dev/null 2>&1 || :
/bin/systemctl enable sshd.service >/dev/null 2>&1
/sbin/chkconfig --del sshd >/dev/null 2>&1 || :
/bin/systemctl try-restart sshd.service >/dev/null 2>&1 || :
%triggerun -n openssh-server -- openssh-server < 5.9p1-22
/bin/systemctl --no-reload disable sshd-keygen.service >/dev/null 2>&1 || :
%files
%defattr(-,root,root)
%{!?_licensedir:%global license %%doc}