summaryrefslogtreecommitdiffstats
path: root/perl-FusionInventory-Agent-Task-Deploy.spec
diff options
context:
space:
mode:
Diffstat (limited to 'perl-FusionInventory-Agent-Task-Deploy.spec')
-rw-r--r--perl-FusionInventory-Agent-Task-Deploy.spec29
1 files changed, 20 insertions, 9 deletions
diff --git a/perl-FusionInventory-Agent-Task-Deploy.spec b/perl-FusionInventory-Agent-Task-Deploy.spec
index c10b644..1de2d82 100644
--- a/perl-FusionInventory-Agent-Task-Deploy.spec
+++ b/perl-FusionInventory-Agent-Task-Deploy.spec
@@ -1,6 +1,6 @@
Name: perl-FusionInventory-Agent-Task-Deploy
Version: 2.0.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Software deployment support for FusionInventory Agent
License: GPLv2+
Group: Development/Libraries
@@ -10,30 +10,35 @@ 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 >= 1:5.8.0
+BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(Archive::Extract)
BuildRequires: perl(Archive::Tar)
BuildRequires: perl(Digest::SHA)
-BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Copy::Recursive)
BuildRequires: perl(JSON)
BuildRequires: perl(POE::Component::Client::Ping)
BuildRequires: perl(Test::Compile)
BuildRequires: perl(Test::HTTP::Server::Simple)
BuildRequires: perl(URI::Escape)
-BuildRequires: perl(FusionInventory::Agent) >= 2.2.0
+BuildRequires: fusioninventory-agent >= 2.2.0
%if 0%{?fedora} >= 14
BuildRequires: perl(HTTP::Server::Simple::Authen) perl(CGI)
%endif
-Requires: perl(FusionInventory::Agent) >= 2.2.0
-Requires: perl(Archive::Extract)
+Requires: fusioninventory-agent >= 2.2.0
Requires: perl(Digest::SHA)
-Requires: perl(File::Copy::Recursive)
-Requires: perl(JSON)
Requires: perl(POE::Component::Client::Ping)
-Requires: perl(URI::Escape)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# RPM 4.8
+%{?filter_from_provides: %filter_from_provides /perl(FusionInventory::/d}
+%{?filter_from_requires: %filter_from_requires /perl(FusionInventory::/d}
+%{?perl_default_filter}
+# RPM 4.9
+%global __provides_exclude %{?__provides_exclude:__provides_exclude|}^perl\\(FusionInventory::
+%global __requires_exclude %{?__requires_exclude:__requires_exclude|}^perl\\(FusionInventory::
+
+
%description
With this module, FusionInventory can accept software deployment request
from an GLPI server with the FusionInventory plugin.
@@ -42,6 +47,9 @@ from an GLPI server with the FusionInventory plugin.
%prep
%setup -q -n FusionInventory-Agent-Task-Deploy-%{version}
+# use system ones
+rm -rf inc/*
+
%build
perl Makefile.PL \
@@ -80,7 +88,10 @@ rm -rf %{buildroot}
%changelog
-* Sun Apr 15 2012 Remi Collet <remi@fedoraproject.org> - 2.1.0-1
+* Fri May 11 2012 Remi Collet <remi@fedoraproject.org> - 2.0.0-2
+- filter private provides/requires
+
+* Sun Apr 15 2012 Remi Collet <remi@fedoraproject.org> - 2.0.0-1
- initial spec for Agent 2.2.0
- Specfile autogenerated by cpanspec 1.78.