[perl-FusionInventory-Agent-Task-NetDiscovery] update to 2.1 for agent 2.2.0

Remi Collet remi at fedoraproject.org
Thu May 10 18:12:58 UTC 2012


commit 82fa0c0eb59b89b8b1fae9bc151b771741060e5a
Author: remi <fedora at famillecollet.com>
Date:   Thu May 10 20:12:52 2012 +0200

    update to 2.1 for agent 2.2.0

 .gitignore                                        |    2 +
 perl-FusionInventory-Agent-Task-NetDiscovery.spec |   35 ++++++++++++++------
 sources                                           |    2 +-
 3 files changed, 27 insertions(+), 12 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 887ec1c..27fc31c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,3 @@
+*spec~
 /FusionInventory-Agent-Task-NetDiscovery-1.5.tar.gz
+/FusionInventory-Agent-Task-NetDiscovery-2.1.tar.gz
diff --git a/perl-FusionInventory-Agent-Task-NetDiscovery.spec b/perl-FusionInventory-Agent-Task-NetDiscovery.spec
index 1635638..d845c76 100644
--- a/perl-FusionInventory-Agent-Task-NetDiscovery.spec
+++ b/perl-FusionInventory-Agent-Task-NetDiscovery.spec
@@ -1,6 +1,6 @@
 Name:           perl-FusionInventory-Agent-Task-NetDiscovery
-Version:        1.5
-Release:        3%{?dist}
+Version:        2.1
+Release:        1%{?dist}
 Summary:        Network discovery support for FusionInventory Agent
 License:        GPLv2+
 Group:          Development/Libraries
@@ -10,17 +10,17 @@ Source0:        http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInvento
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl(ExtUtils::MakeMaker) perl(Module::Install)
+BuildRequires:  perl(inc::Module::Install)
 # For tests
-BuildRequires:  perl(FusionInventory::Agent) >= 2.0
+BuildRequires:  perl(FusionInventory::Agent) >= 2.2.0
+BuildRequires:  perl(Net::SNMP)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(XML::TreePP)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::Compile)
 
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-Requires:       perl(FusionInventory::Agent) >= 2.0
-Requires:       perl(XML::SAX)
+Requires:       perl(FusionInventory::Agent) >= 2.2.0
 # Optional (but recommended) dependencies
-Requires:       perl(Parallel::ForkManager)
 Requires:       perl(Net::SNMP)
 Requires:       perl(Net::NBName)
 Requires:       nmap
@@ -36,9 +36,16 @@ SNMP protocol.
 %prep
 %setup -q -n FusionInventory-Agent-Task-NetDiscovery-%{version}
 
+# Use system ones
+rm -rf inc/*
+
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL \
+     PREFIX=%{_prefix} \
+     SYSCONFDIR=%{_sysconfdir}/fusioninventory \
+     LOCALSTATEDIR=%{_localstatedir}/lib/%{name}
+
 make %{?_smp_mflags}
 
 
@@ -63,12 +70,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS Changes LICENSE README THANKS
-%{perl_vendorlib}/FusionInventory/Agent/Task/NetDiscovery*
+%doc Changes LICENSE README THANKS
+%{_datadir}/fusioninventory/lib/FusionInventory/Agent/SNMP.pm
+%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/NetDiscovery.pm
+%{_datadir}/fusioninventory/lib/FusionInventory/Agent/Task/NetDiscovery
 %{_mandir}/man3/FusionInventory*
 
 
 %changelog
+* Thu May 10 2012 Remi Collet <remi at fedoraproject.org> - 2.1-1
+- update to 2.1 for agent 2.2.0
+  http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-Task-NetDiscovery-2.1/Changes
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 56cf49e..6ae7a44 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-043252ad505d1b0a6be6ca55468cdfab  FusionInventory-Agent-Task-NetDiscovery-1.5.tar.gz
+949b6716d7e65eb9a3cb7a3e1f85e6ad  FusionInventory-Agent-Task-NetDiscovery-2.1.tar.gz


More information about the scm-commits mailing list