From d68e52d38fabad47c518fddba90a9e5fa531bb20 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 28 2017 15:09:44 +0000 Subject: import chkconfig-1.7.2-1.el7_3.1 --- diff --git a/SPECS/chkconfig.spec b/SPECS/chkconfig.spec index 4e08ff4..945e1c5 100644 --- a/SPECS/chkconfig.spec +++ b/SPECS/chkconfig.spec @@ -1,7 +1,7 @@ Summary: A system tool for maintaining the /etc/rc*.d hierarchy Name: chkconfig Version: 1.7.2 -Release: 1%{?dist} +Release: 1%{?dist}.1 License: GPLv2 Group: System Environment/Base URL: https://git.fedorahosted.org/git/chkconfig.git @@ -79,7 +79,15 @@ rm -rf $RPM_BUILD_ROOT %{_sbindir}/ntsysv %{_mandir}/*/ntsysv.8* +%triggerin -- chkconfig < 1.7 +for i in /var/lib/alternatives/* ; do + sed -i -e 's/^@.*@\([0-9]*\)$/\1/' $i +done + %changelog +* Fri May 05 2017 Lukáš Nykrýn - 1.7.2-1.1 +- spec: make possible to downgrade to pre-family versions + * Wed Jun 29 2016 Lukáš Nykrýn - 1.7.2-1 - alternatives: introduce --keep-missing - alternatives: allow family in --set and display it in --config