diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-08-16 20:53:34 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-08-16 20:53:34 +0200 |
commit | 4de2efd86850faf5856df2900cab699ddcb14ad8 (patch) | |
tree | e8111ff77f13e4aa477ea54567e26aabebeefc56 | |
parent | b1a79c4da6d47dec27f0fb8c9423bd6a1457ed24 (diff) |
fusioninventory-agent, fix perl filter for new distro (again)
-rw-r--r-- | fusioninventory-agent.spec | 14 |
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 |