fix alternatives: --keep-foreign incorrectly handles non-existent files

Resolves: #2203820
This commit is contained in:
Jan Macku 2023-05-15 13:30:23 +02:00
parent 49a3a63b55
commit 82ebd39a7b
3 changed files with 8 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
SOURCES/chkconfig-1.19.1.tar.gz
/chkconfig-1.19.1.tar.gz
/chkconfig-1.19.2.tar.gz

View File

@ -1,6 +1,6 @@
Summary: A system tool for maintaining the /etc/rc*.d hierarchy
Name: chkconfig
Version: 1.19.1
Version: 1.19.2
Release: 1%{?dist}
License: GPLv2
URL: https://github.com/fedora-sysv/chkconfig
@ -77,6 +77,11 @@ mkdir -p $RPM_BUILD_ROOT/etc/chkconfig.d
%{_mandir}/*/ntsysv.8*
%changelog
* Mon May 15 2023 Jan Macku <jamacku@redhat.com> - 1.19.2-1
- alternatives: --keep-foreign incorrectly handles non-existent files
- alternatives: isLink should return 0 in case of lstat error
- spec: Replace not working awk command with sed (#63)
* Tue Jul 27 2021 Jan Macku <jamacku@redhat.com> - 1.19.1-1
- spec: Revert changes introduced in Fedora (#61)

View File

@ -1 +1 @@
SHA512 (chkconfig-1.19.1.tar.gz) = ed4a42d22bdec31e320f9ffdc8d78579022e160c1d811afa7ec39e1f01c3f2111289006181079558d4e60750e3a0ae5a79e2a782ab0033da795c5410b573b94f
SHA512 (chkconfig-1.19.2.tar.gz) = db6b26667ea78eda186875935e9360e7c6719c1ca3e15c818b068393ba871987b15772d51c2215ed4e5cf465c8585a57955aba58f0f51bda6238b7ff7a222534