Remove obsolete alternatives left behind after leapp upgrade from RHEL8 to RHEL9
Resolves: RHEL-101161
This commit is contained in:
parent
95dd2ea688
commit
17c2b7795d
@ -7,7 +7,7 @@ Name: nmap
|
||||
Epoch: 3
|
||||
Version: 7.92
|
||||
#global prerelease TEST5
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
Summary: Network exploration tool and security scanner
|
||||
URL: http://nmap.org/
|
||||
# Uses combination of licenses based on GPL license, but with extra modification
|
||||
@ -131,6 +131,8 @@ touch %{buildroot}%{_bindir}/nc
|
||||
%find_lang nmap --with-man
|
||||
|
||||
%post ncat
|
||||
# Remove obsolete alternatives left behind after leapp upgrade from RHEL8 to RHEL9
|
||||
%{_sbindir}/update-alternatives --remove nmap %{_bindir}/ncat || :
|
||||
%{_sbindir}/alternatives --install %{_bindir}/nc nc %{_bindir}/ncat 10 \
|
||||
--slave %{_mandir}/man1/nc.1.gz nc-man %{_mandir}/man1/ncat.1.gz
|
||||
|
||||
@ -158,6 +160,10 @@ fi
|
||||
%{_mandir}/man1/ncat.1.gz
|
||||
|
||||
%changelog
|
||||
* Tue Jan 06 2026 Martin Osvald <mosvald@redhat.com> - 3:7.92-5
|
||||
- Remove obsolete alternatives left behind after leapp upgrade from RHEL8 to RHEL9
|
||||
Resolves: RHEL-101161
|
||||
|
||||
* Tue Nov 25 2025 Martin Osvald <mosvald@redhat.com> - 3:7.92-4
|
||||
- Resolves: RHEL-130816 - Nmap scans fail with enic driver
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user