From 4de2efd86850faf5856df2900cab699ddcb14ad8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Aug 2010 20:53:34 +0200 Subject: fusioninventory-agent, fix perl filter for new distro (again) --- fusioninventory-agent.spec | 14 +++++++++----- 1 file 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 -- cgit