From 417707e781d9770e75293bb0d2076a8f66556bfd Mon Sep 17 00:00:00 2001 From: teastep Date: Tue, 26 Jun 2007 22:09:51 +0000 Subject: [PATCH] Require 'shorewall' to install shorewall-perl git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6683 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb --- Shorewall-perl/Shorewall/Actions.pm | 2 +- Shorewall-perl/shorewall-perl.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Shorewall-perl/Shorewall/Actions.pm b/Shorewall-perl/Shorewall/Actions.pm index 6cff9ab28..f88bc797a 100644 --- a/Shorewall-perl/Shorewall/Actions.pm +++ b/Shorewall-perl/Shorewall/Actions.pm @@ -324,7 +324,7 @@ sub process_action1 ( $$ ) { my $targettype = $targets{$target}; if ( defined $targettype ) { - return if ( $targettype == STANDARD ) || ( $targettype == MACRO ) || ( $target eq 'LOG' ); + return if ( $targettype == STANDARD ) || ( $targettype == MACRO ) || ( $targettype & LOGRULE ); fatal_error "Invalid TARGET ($target)" if $targettype & STANDARD; diff --git a/Shorewall-perl/shorewall-perl.spec b/Shorewall-perl/shorewall-perl.spec index a7c1abe6d..d982bd77f 100644 --- a/Shorewall-perl/shorewall-perl.spec +++ b/Shorewall-perl/shorewall-perl.spec @@ -15,7 +15,7 @@ Source: %{name}-%{version}.tgz URL: http://www.shorewall.net/ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-root -Requires: perl +Requires: perl shorewall Provides: shorewall_compiler %description