From 17251d433ab18f59dab060e3ebadef6367969943 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 16 Aug 2010 19:08:17 +0200 Subject: fusioninventory-agent-2.1 --- fusioninventory-agent.spec | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) (limited to 'fusioninventory-agent.spec') diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec index 10729ce..9eccbc0 100644 --- a/fusioninventory-agent.spec +++ b/fusioninventory-agent.spec @@ -4,16 +4,19 @@ Name: fusioninventory-agent Summary: FusionInventory agent Summary(fr): Agent FusionInventory -Version: 2.0.6 +Version: 2.1 %if 0%{?gitver:1} Release: 5.git%{gitver}%{?dist} Source0: fusinv-fusioninventory-agent-2.0.4-20-gf7c5492.tar.gz %else Release: 1%{?dist} -Source0: http://forge.fusioninventory.org/attachments/download/66/FusionInventory-Agent-2.0.6.tar.gz +Source0: http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInventory-Agent-%{version}.tar.gz %endif +# http://github.com/fusinv/fusioninventory-agent/commit/75d7e778c108889cad36b17f06eb876181d9d183 +Patch0: fusioninventory-agent.patch + Source1: %{name}.cron Source2: %{name}.init @@ -37,7 +40,10 @@ Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig, /sbin/service Requires(postun): /sbin/service -%{?perl_default_filter} +%{?filter_setup: +%filter_from_requires /perl(Win32/d +%?perl_default_filter +} %description @@ -84,6 +90,8 @@ Vous pouvez ajouter les paquets additionnels pour les tâches optionnelles : %setup -q -n FusionInventory-Agent-%{version} %endif +%patch0 -p0 + cat </dev/null ';' %clean -rm -rf %{buildroot} +%{__rm} -rf %{buildroot} %{buildroot}%{_datarootdir} %post @@ -181,6 +193,7 @@ exit 0 %{_sysconfdir}/cron.hourly/%{name} %{_initrddir}/%{name} %{perl_vendorlib}/FusionInventory +%{perl_vendorlib}/auto %{_bindir}/%{name} %exclude %{_bindir}/%{name}-config %{_mandir}/man1/%{name}* @@ -190,6 +203,13 @@ exit 0 %changelog +* Mon Aug 16 2010 Remi Collet 2.1-1 +- update to 2.1 +- switch download URL back to CPAN +- add %%{perl_vendorlib}/auto +- filter perl(Win32*) from Requires +- add patch (from git) to reopen the file logger if needed + * Sat May 29 2010 Remi Collet 2.0.6-1 - update to 2.0.6 - swicth download URL to forge -- cgit