summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fusioninventory-agent.spec14
1 files changed, 9 insertions, 5 deletions
diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec
index 6803cc3..15d0215 100644
--- a/fusioninventory-agent.spec
+++ b/fusioninventory-agent.spec
@@ -40,13 +40,17 @@ Requires(post): /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
Requires(postun): /sbin/service
-%{?perl_default_filter}
+%if 0%{?fedora} >= 11
# This work only on recent fedora
-#{?filter_setup:
-#filter_from_requires /perl(Win32/d
-#?perl_default_filter
-#}
+%{?filter_setup:
+%filter_from_requires /perl(Win32/d
+%?perl_default_filter
+}
+%else
+%{?perl_default_filter}
+%endif
+
%description
FusionInventory Agent is an application designed to help a network