weak-modules: fix incorrect dispatch on symvers file extension
* weak-modules (validate_weak_links): Switch on "$symvers_name" and not "$symvers". * kmod.spec (Release): Bump to 9. (%changelog): Add a record. Resolves: RHEL-61133 Signed-off-by: Eugene Syromiatnikov <esyr@redhat.com>
This commit is contained in:
parent
0a4563dfa8
commit
aa7757c4af
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
Name: kmod
|
Name: kmod
|
||||||
Version: 31
|
Version: 31
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: Linux kernel module management utilities
|
Summary: Linux kernel module management utilities
|
||||||
|
|
||||||
# https://docs.fedoraproject.org/en-US/legal/license-field/#_no_effective_license_analysis
|
# https://docs.fedoraproject.org/en-US/legal/license-field/#_no_effective_license_analysis
|
||||||
@ -196,6 +196,10 @@ install -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/depmod.d/dist.conf
|
|||||||
%{_libdir}/libkmod.so
|
%{_libdir}/libkmod.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Oct 01 2024 Eugene Syromiatnikov <esyr@redhat.com> - 31-9
|
||||||
|
- weak-modules: fix incorrect symvers file extension dispatch
|
||||||
|
- Resolves: RHEL-61133
|
||||||
|
|
||||||
* Thu Aug 15 2024 Eugene Syromiatnikov <esyr@redhat.com> - 31-8
|
* Thu Aug 15 2024 Eugene Syromiatnikov <esyr@redhat.com> - 31-8
|
||||||
- Fix issues discovered by static analysis
|
- Fix issues discovered by static analysis
|
||||||
- Resolves: RHEL-44931
|
- Resolves: RHEL-44931
|
||||||
|
@ -768,7 +768,7 @@ validate_weak_links() {
|
|||||||
|
|
||||||
[[ -n "$symvers_path" ]] || return
|
[[ -n "$symvers_path" ]] || return
|
||||||
cat_prog="cat"
|
cat_prog="cat"
|
||||||
case "$symvers" in
|
case "$symvers_path" in
|
||||||
*.gz) cat_prog="zcat" ;;
|
*.gz) cat_prog="zcat" ;;
|
||||||
*.xz) cat_prog="xzcat" ;;
|
*.xz) cat_prog="xzcat" ;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user