mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-10 23:58:14 +01:00
Update .spec files with virtual requires/provides
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
3db203cbb7
commit
1d87fc0102
@ -13,7 +13,7 @@ Source: %{name}-%{version}.tgz
|
|||||||
URL: http://www.shorewall.net/
|
URL: http://www.shorewall.net/
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: iptables iproute
|
Requires: shorewall_firewall >= 4.4.10
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
@ -60,7 +60,7 @@ if [ $1 -eq 1 ]; then
|
|||||||
ln -sf /usr/share/shorewall-init/ifupdown /etc/sysconfig/network/if-down.d/shorewall
|
ln -sf /usr/share/shorewall-init/ifupdown /etc/sysconfig/network/if-down.d/shorewall
|
||||||
else
|
else
|
||||||
if [ -f /sbin/ifup-local -o -f /sbin/ifdown-local ]; then
|
if [ -f /sbin/ifup-local -o -f /sbin/ifdown-local ]; then
|
||||||
echo "WARNING: /sbin/ifup-local and/or /sbin/ifdown-local already exist; up/down events will not be handled" >&2
|
echo "WARNING: /sbin/ifup-local and/or /sbin/ifdown-local already exist; ifup/ifdown events will not be handled" >&2
|
||||||
else
|
else
|
||||||
ln -s /usr/share/shorewall-init/ifupdown /sbin/ifup-local
|
ln -s /usr/share/shorewall-init/ifupdown /sbin/ifup-local
|
||||||
ln -s /usr/share/shorewall-init/ifupdown /sbin/ifdown-local
|
ln -s /usr/share/shorewall-init/ifupdown /sbin/ifdown-local
|
||||||
|
@ -14,6 +14,7 @@ URL: http://www.shorewall.net/
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: iptables iproute
|
Requires: iptables iproute
|
||||||
|
Provides: shoreline_firewall = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ URL: http://www.shorewall.net/
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: iptables iproute perl
|
Requires: iptables iproute perl
|
||||||
|
Provides: shoreline_firewall = %{version}-%{release}
|
||||||
Obsoletes: shorewall-common shorewall-perl shorewall-shell
|
Obsoletes: shorewall-common shorewall-perl shorewall-shell
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -14,6 +14,7 @@ URL: http://www.shorewall.net/
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: iptables iproute
|
Requires: iptables iproute
|
||||||
|
Provides: shoreline_firewall = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ URL: http://www.shorewall.net/
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
Requires: iptables iproute shorewall >= 4.3.5
|
Requires: iptables iproute shorewall >= 4.3.5
|
||||||
|
Provides: shoreline_firewall = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user