diff --git a/nmap.spec b/nmap.spec index c6ba20c..fe9c75e 100644 --- a/nmap.spec +++ b/nmap.spec @@ -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 - 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 - 3:7.92-4 - Resolves: RHEL-130816 - Nmap scans fail with enic driver