rpms/ocsinventory-client/devel .cvsignore, 1.3, 1.4 ocsinventory-client.spec, 1.3, 1.4 sources, 1.3, 1.4

Remi Collet (remi) fedora-extras-commits at redhat.com
Sun Apr 8 17:30:24 UTC 2007


Author: remi

Update of /cvs/extras/rpms/ocsinventory-client/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1906

Modified Files:
	.cvsignore ocsinventory-client.spec sources 
Log Message:
     update to 1.01


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ocsinventory-client/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore	28 Jan 2007 08:24:47 -0000	1.3
+++ .cvsignore	8 Apr 2007 17:29:51 -0000	1.4
@@ -1 +1 @@
-OCSNG_LINUX_AGENT_1.0.tar.gz
+OCSNG_LINUX_AGENT_1.01.tar.gz


Index: ocsinventory-client.spec
===================================================================
RCS file: /cvs/extras/rpms/ocsinventory-client/devel/ocsinventory-client.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- ocsinventory-client.spec	28 Jan 2007 08:24:47 -0000	1.3
+++ ocsinventory-client.spec	8 Apr 2007 17:29:51 -0000	1.4
@@ -1,32 +1,34 @@
-%define tarname OCSNG_LINUX_AGENT_1.0
+%define tarname OCSNG_LINUX_AGENT_1.01
 
 # Can, optionaly, be define at build time (see README.fedora)
 # - ocstag    : administrative tag
 # - ocsserver : OCS Inventory NG communication serveur
 
-ExclusiveArch: i386 x86_64
-
 Name:      ocsinventory-client
-Version:   1.0
+Version:   1.01
 Release:   1%{?dist}%{?ocstag:.}%{?ocstag}
 Summary:   Open Computer and Software Inventory Next Generation client
 
 Group:     Development/Libraries
 License:   GPL
 URL:       http://ocsinventory.sourceforge.net/
-Source0:   http://heanet.dl.sourceforge.net/sourceforge/ocsinventory/%{tarname}.tar.gz
+Source0:   http://downloads.sourceforge.net/sourceforge/ocsinventory/%{tarname}.tar.gz
 Source1:   ocsinventory-client.README
 Source2:   ocsinventory-client.README.fr
 Patch0:    ocsinventory-client.patch
 
-# Not noarch because of ipdiscover.c - BuildArch: noarch
+BuildArch: noarch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: %{_sbindir}/dmidecode, perl
 %if %{?fedora}0
 Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 %else
+%if %{?rhel}0 < 50
 %define perl_vendorlib  %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%else
+Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%endif
 %endif
 Requires:  %{_sbindir}/dmidecode, net-tools, pciutils
 Requires:  %{_sysconfdir}/logrotate.d, %{_sysconfdir}/cron.daily
@@ -47,9 +49,10 @@
 # No virtual provides for this
 Requires: perl-Digest-MD5 perl-libwww-perl
 %else
-# Only vitual provides (but not detected) on non RHEL2
+# Only virtual provides (but not detected) on non RHEL2
 Requires:  perl(HTTP::Request)
 %endif
+Requires: ocsinventory-ipdiscover
 
 %description
 Open Computer and Software Inventory Next Generation is an application
@@ -75,7 +78,13 @@
 %prep
 %setup -q -n %{tarname}
 %patch0 -p0 -b .fedora
+
+touch -r changelogs timestamp
 %{__perl} -pi -e 's/\r//' changelogs
+touch -r timestamp changelogs
+touch -r README timestamp
+%{__perl} -pi -e 's/\r//' README
+touch -r timestamp README
 
 cat <<EOF >ocsinv.conf
 <CONF>
@@ -114,7 +123,6 @@
 %{__perl} Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 popd
-%{__cc} %{optflags} -o ipdiscover ipdiscover.c
 
 %install
 rm -rf %{buildroot}
@@ -127,8 +135,6 @@
 rm %{buildroot}%{perl_vendorlib}/Ocsinventory/ocsinventory-client.pl
 popd
 
-%{__install} -m 755 ipdiscover %{buildroot}%{_sbindir}
-
 %{__mkdir_p} %{buildroot}%{_localstatedir}/log/%{name}
 
 %{__mkdir_p} %{buildroot}%{_sysconfdir}/%{name}
@@ -160,7 +166,6 @@
 %lang(fr) %doc README.fedora.fr
 %{perl_vendorlib}/Ocsinventory
 %{_sbindir}/ocsinventory-client.pl
-%{_sbindir}/ipdiscover
 %dir %{_localstatedir}/log/%{name}
 %dir %{_sysconfdir}/%{name}
 %config(noreplace) %{_sysconfdir}/%{name}/ocsinv.*
@@ -169,6 +174,11 @@
 
 
 %changelog
+* Tue Mar 20 2007 Remi Collet <Fedora at famillecollet.com> 1.01-1
+- update to 1.01
+- change to noarch
+- split and Requires ocsinventory-ipdiscover
+
 * Sun Jan 28 2007 Remi Collet <Fedora at famillecollet.com> 1.0-1
 - update to 1.0 Final
 - add sleep in cron task (time balancing for large network)


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ocsinventory-client/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources	28 Jan 2007 08:24:47 -0000	1.3
+++ sources	8 Apr 2007 17:29:51 -0000	1.4
@@ -1 +1 @@
-2103290f3dd7e02f9174899d22a2dc3c  OCSNG_LINUX_AGENT_1.0.tar.gz
+9e5a5893cd83eb94637c34b60286dcb8  OCSNG_LINUX_AGENT_1.01.tar.gz




More information about the scm-commits mailing list