Add missing readlink required for iptables-nft(post)

The following is observed while creating fedora-server image:
  Running scriptlet: iptables-nft-1.8.5-5.fc33.armv7hl
/var/tmp/rpm-tmp.5nTAii: line 14: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 14: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 18: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 31: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 34: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 31: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 34: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 31: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 34: readlink: command not found
/var/tmp/rpm-tmp.5nTAii: line 38: readlink: command not found
This commit is contained in:
Damian Wrobel 2021-03-28 19:04:41 +02:00
parent ad1732dc5d
commit 2eea62dd86

View File

@ -11,7 +11,7 @@ Name: iptables
Summary: Tools for managing Linux kernel packet filtering capabilities
URL: https://www.netfilter.org/projects/iptables
Version: 1.8.7
Release: 6%{?dist}
Release: 7%{?dist}
Source: %{url}/files/%{name}-%{version}.tar.bz2
Source1: iptables.init
Source2: iptables-config
@ -152,6 +152,7 @@ a safer way to update iptables remotely.
Summary: nftables compatibility for iptables, arptables and ebtables
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Requires(post): %{_sbindir}/update-alternatives
Requires(post): %{_bindir}/readlink
Requires(postun): %{_sbindir}/update-alternatives
Obsoletes: iptables-compat < 1.6.2-4
Provides: arptables-helper
@ -417,6 +418,9 @@ fi
%changelog
* Mon Mar 29 2021 Damian Wrobel <dwrobel@ertelnet.rybnik.pl> - 1.8.7-7
- Add missing readlink required for iptables-nft(post)
* Tue Mar 23 2021 Phil Sutter <psutter@redhat.com> - 1.8.7-6
- Restore alternatives configuration after upgrade
- Fix license location