From dc9c37c74f87ec353a30773cc13968ddf4894b65 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 31 Mar 2011 06:01:14 +0200 Subject: fusioninventory-agent: revert fix for #636 which breaks compatibility --- fusioninventory-agent.spec | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'fusioninventory-agent.spec') diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec index e64f69e..72bde3c 100644 --- a/fusioninventory-agent.spec +++ b/fusioninventory-agent.spec @@ -4,24 +4,27 @@ Name: fusioninventory-agent Summary: FusionInventory agent Summary(fr): Agent FusionInventory +Group: Applications/System +License: GPLv2+ +URL: http://fusioninventory.org/ -Version: 2.1.8 +Version: 2.1.8 %if 0%{?gitver:1} Release: 2.git%{gitver}%{?dist} # From http://github.com/fusinv/fusioninventory-agent/tarball/master Source0: fusinv-fusioninventory-agent-2.1-48-ga7532c0.tar.gz %else -Release: 1 +Release: 2 Source0: http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInventory-Agent-%{version}%{?prever}.tar.gz %endif Source1: %{name}.cron Source2: %{name}.init -Group: Applications/System -License: GPLv2+ -URL: http://fusioninventory.org/ +# See http://forge.fusioninventory.org/issues/636 +# revert this change which break compatibility with previous version +Patch0: %{name}-revert.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -128,6 +131,8 @@ Le service doit ĂȘtre actif et lancĂ© avec l'option --rpc-trust-localhost. %setup -q -n FusionInventory-Agent-%{version}%{?prever} %endif +%patch0 -p1 -b .revert + # This work only on older version, and is ignored on recent cat < 2.1.8-2 +- revert change for issue 656 which breaks compatibility + * Wed Mar 30 2011 Remi Collet 2.1.8-1 - update to 2.1.8 http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.1.8/Changes -- cgit