30 |
Patch4: %{name}-4.4.23-allow-netmask-0.patch |
Patch4: %{name}-4.4.23-allow-netmask-0.patch |
31 |
Requires: iptables |
Requires: iptables |
32 |
Requires: iproute2 |
Requires: iproute2 |
|
Requires: dash |
|
33 |
Requires(post): rpm-helper |
Requires(post): rpm-helper |
34 |
Requires(preun): rpm-helper |
Requires(preun): rpm-helper |
35 |
BuildConflicts: apt-common |
BuildConflicts: apt-common |
194 |
#(tpg) remove hash-bang |
#(tpg) remove hash-bang |
195 |
find %{buildroot} -name "lib.*" -exec sed -i -e '/\#\!\/bin\/sh/d' {} \; |
find %{buildroot} -name "lib.*" -exec sed -i -e '/\#\!\/bin\/sh/d' {} \; |
196 |
|
|
|
# (tpg) let's use dash everywhere! |
|
|
find %{buildroot} -type f -exec sed -i -e 's@/bin/sh@/bin/dash@' {} \; |
|
|
|
|
197 |
#remove unused files because of %exclude misbehaviour |
#remove unused files because of %exclude misbehaviour |
198 |
rm -f %{buildroot}%{_datadir}/%{name6}/configfiles/* |
rm -f %{buildroot}%{_datadir}/%{name6}/configfiles/* |
199 |
rm -f %{buildroot}%{_datadir}/shorewall/configfiles/* |
rm -f %{buildroot}%{_datadir}/shorewall/configfiles/* |