diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-11-29 20:22:44 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-11-29 20:22:44 +0100 |
commit | 4d9e7cc5ade7feee2be0ac3b031889d4c4bfd636 (patch) | |
tree | 220476fd3f86fc10167b76645de19f6d05d9171d | |
parent | fe5a6ce8adf9c9211d653db25777f88eec4d535b (diff) |
fusioninventory-agent 2.1.7 beta1, without test because of Test::Compile not available
-rw-r--r-- | fusioninventory-agent.spec | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec index fcc9680..7d34eae 100644 --- a/fusioninventory-agent.spec +++ b/fusioninventory-agent.spec @@ -29,9 +29,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Module::Install) # For tests BuildRequires: perl(Time::HiRes) perl(XML::Simple) perl(UNIVERSAL::require) perl(Test::More) -%if %{?fedora}%{?rhel} > 4 +# for fedora repo : %if 0%{?fedora}>= 12 || 0%{?rhel} >= 5 BuildRequires: perl(XML::TreePP) -%endif +# %endif %if 0%{?fedora} >= 11 BuildRequires: perl(Test::Compile) %endif @@ -186,8 +186,11 @@ find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' %{__install} -m 755 -Dp %{SOURCE2} %{buildroot}%{_initrddir}/%{name} +# Test fails for now when Test::Compile not available +%if 0%{?fedora} >= 11 %check make test +%endif %clean |