[ocsinventory-agent/el5/master] remove perl-XML-SAX optional dep

Remi Collet remi at fedoraproject.org
Sat Oct 9 07:12:31 UTC 2010


commit 847f3aa0d4f28fccd107a04c803e3a0749bb9952
Author: remi <fedora at famillecollet.com>
Date:   Sat Oct 9 09:12:32 2010 +0200

    remove perl-XML-SAX optional dep

 ocsinventory-agent.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/ocsinventory-agent.spec b/ocsinventory-agent.spec
index 5231ca5..ece99c0 100644
--- a/ocsinventory-agent.spec
+++ b/ocsinventory-agent.spec
@@ -6,7 +6,7 @@ Name:      ocsinventory-agent
 Summary:   Open Computer and Software Inventory Next Generation client
 
 Version:   1.1.2
-Release:   1%{?dist}%{?ocstag:.%{ocstag}}
+Release:   2%{?dist}%{?ocstag:.%{ocstag}}
 
 Source0:   http://launchpad.net/ocsinventory-unix-agent/1.1.x/ocsinventory-unix-agent-%{version}/+download/Ocsinventory-Agent-%{version}.tar.gz
 
@@ -26,7 +26,7 @@ BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %if 0%{?rhel} != 3
-BuildRequires: perl(Module::Install) perl(XML::SAX)
+BuildRequires: perl(Module::Install)
 %endif
 BuildRequires: perl(XML::Simple) perl(LWP) perl(Net::IP)
 BuildRequires: perl(Digest::MD5) perl(File::Temp)
@@ -40,7 +40,7 @@ Requires:  nmap monitor-edid which
 %if 0%{?rhel} == 3
 Requires:  perl(XML::Parser)
 %else
-Requires:  perl(XML::SAX) perl(Proc::Daemon)
+Requires:  perl(Proc::Daemon)
 %endif
 %if 0%{?rhel}%{?fedora} <= 4
 Requires:  kernel-utils
@@ -211,6 +211,10 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sat Oct 09 2010 Remi Collet <Fedora at famillecollet.com> 1.1.2-2
+- remove perl-XML-SAX optional dep, which is broken on EL5
+  and cause overload when installed on the OCS server
+
 * Sun Jan 03 2010 Remi Collet <Fedora at famillecollet.com> 1.1.2-1
 - update to 1.1.2
 - missing perl(Net::IP) requires


More information about the scm-commits mailing list