rpms/ocsinventory-agent/devel ocsinventory-agent.spec,1.17,1.18

Remi Collet remi at fedoraproject.org
Sun Dec 27 10:34:37 UTC 2009


Author: remi

Update of /cvs/pkgs/rpms/ocsinventory-agent/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8534

Modified Files:
	ocsinventory-agent.spec 
Log Message:
missing requires


Index: ocsinventory-agent.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ocsinventory-agent/devel/ocsinventory-agent.spec,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -p -r1.17 -r1.18
--- ocsinventory-agent.spec	22 Dec 2009 19:04:16 -0000	1.17
+++ ocsinventory-agent.spec	27 Dec 2009 10:34:37 -0000	1.18
@@ -6,7 +6,7 @@ Name:      ocsinventory-agent
 Summary:   Open Computer and Software Inventory Next Generation client
 
 Version:   1.1.1
-Release:   1%{?dist}%{?ocstag:.%{ocstag}}
+Release:   2%{?dist}%{?ocstag:.%{ocstag}}
 
 #Source0:  http://search.cpan.org/CPAN/authors/id/G/GO/GONERI/Ocsinventory-Agent-%{version}.tar.gz
 #Source0:  http://nana.rulezlan.org/~goneri/ocsinventory-agent/Ocsinventory-Agent-nobundle-%{version}.tar.gz
@@ -27,15 +27,24 @@ URL:       http://www.ocsinventory-ng.or
 BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-BuildRequires: perl(Module::Install) perl(XML::Simple) perl(LWP) perl(Net::IP)
-BuildRequires: perl(Digest::MD5) perl(File::Temp) perl(XML::SAX)
+%if 0%{?rhel} != 3
+BuildRequires: perl(Module::Install) perl(XML::SAX)
+%endif
+BuildRequires: perl(XML::Simple) perl(LWP) perl(Net::IP)
+BuildRequires: perl(Digest::MD5) perl(File::Temp)
+
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Requires:  net-tools, pciutils
 Requires:  %{_sysconfdir}/logrotate.d, %{_sysconfdir}/cron.hourly
 Requires:  perl(HTTP::Request) perl(Proc::Daemon)
-Requires:  perl(Net::SSLeay) perl(Crypt::SSLeay)
+Requires:  perl(Net::SSLeay) perl(Crypt::SSLeay) perl(Net::IP)
 Requires:  nmap monitor-edid which
-%if 0%{?rhel} == 4
+%if 0%{?rhel} == 3
+Requires:  perl(XML::Parser)
+%else
+Requires:  perl(XML::SAX)
+%endif
+%if 0%{?rhel}%{?fedora} <= 4
 Requires:  kernel-utils
 %else
 Requires:  smartmontools
@@ -49,6 +58,10 @@ Provides:  ocsinventory-client  = 1.02
 # use the following line when version is strictly above 1.01
 # ocsinventory-client = %{version}-%{release}
 
+%if 0%{?rhel} == 3
+%define perl_vendorlib  %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%endif
+
 
 %description
 Open Computer and Software Inventory Next Generation is an application
@@ -199,6 +212,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Sun Dec 27 2009 Remi Collet <Fedora at famillecollet.com> 1.1.1-2
+- missing perl(Net::IP) requires (+ some EL3 stuff: yes, I know)
+
 * Tue Dec 22 2009 Remi Collet <Fedora at famillecollet.com> 1.1.1-1
 - update to 1.1.1
 




More information about the scm-commits mailing list