From dba68d8aa6985dc76fbcfcedaf901253dad296c8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 11 Jun 2011 18:10:55 +0200 Subject: fusioninventory-agent 2.1.9-0.1.git9bd1238 --- fusioninventory-agent.spec | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec index b38023e..cf3ef14 100644 --- a/fusioninventory-agent.spec +++ b/fusioninventory-agent.spec @@ -1,4 +1,4 @@ -#global gitver a7532c0 +%global gitver 9bd1238 #global prever _beta1 Name: fusioninventory-agent @@ -8,33 +8,32 @@ Group: Applications/System License: GPLv2+ URL: http://fusioninventory.org/ -Version: 2.1.8 +Version: 2.1.9 %if 0%{?gitver:1} -Release: 2.git%{gitver}%{?dist} +Release: 0.1.git%{gitver}%{?dist} # From http://github.com/fusinv/fusioninventory-agent/tarball/master -Source0: fusinv-fusioninventory-agent-2.1-48-ga7532c0.tar.gz +Source0: fusinv-fusioninventory-agent-2.1.8-95-g9bd1238.tar.gz %else -Release: 2 +Release: 3 Source0: http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInventory-Agent-%{version}%{?prever}.tar.gz %endif Source1: %{name}.cron Source2: %{name}.init -# 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) BuildRequires: perl(Module::Install) # For tests BuildRequires: perl(Time::HiRes) perl(XML::Simple) perl(UNIVERSAL::require) perl(Test::More) -# for fedora repo : %if 0%{?fedora}>= 12 || 0%{?rhel} >= 5 +%if 0%{?fedora}>= 12 || 0%{?rhel} >= 5 BuildRequires: perl(XML::TreePP) -# %endif +%endif +%if 0%{?fedora}>= 10 || 0%{?rhel} >= 5 +BuildRequires: perl(JSON) +%endif %if 0%{?fedora} >= 11 BuildRequires: perl(Test::Compile) %endif @@ -133,8 +132,6 @@ 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.9-0.1.git9bd1238 +- update to 2.1.9 from git +- improved init script for systemd +- improved comment for use with glpi-fusioninventory + * Thu Mar 31 2011 Remi Collet 2.1.8-2 - revert change for issue 656 which breaks compatibility -- cgit