summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-08-18 17:57:45 +0200
committerRemi Collet <fedora@famillecollet.com>2010-08-18 17:57:45 +0200
commit1d46e7936a1e00129af6431253afa4d853a7fd92 (patch)
tree5fe23dbc5d22834c0e49adca04fea54dec20d531
parent4de2efd86850faf5856df2900cab699ddcb14ad8 (diff)
fusioninventory-agent : update to git snapshot, to test 2.1.1 before release
-rwxr-xr-xfusioninventory-agent.init2
-rw-r--r--fusioninventory-agent.spec18
2 files changed, 10 insertions, 10 deletions
diff --git a/fusioninventory-agent.init b/fusioninventory-agent.init
index 9c64035..aacadab 100755
--- a/fusioninventory-agent.init
+++ b/fusioninventory-agent.init
@@ -45,7 +45,7 @@ do_start()
done
if [ -n "$OPTS" ]; then
echo -n $"Starting $prog: "
- daemon $prog --logfile=$logfile $FUSINVOPT --daemon $OPTS &>/dev/null
+ daemon $prog --logfile=$logfile $FUSINVOPT --daemon $OPTS 2>/dev/null
RETVAL=$?
echo
else
diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec
index 15d0215..2d29b77 100644
--- a/fusioninventory-agent.spec
+++ b/fusioninventory-agent.spec
@@ -1,4 +1,4 @@
-#global gitver f7c5492
+%global gitver a7532c0
Name: fusioninventory-agent
Summary: FusionInventory agent
@@ -7,16 +7,14 @@ Summary(fr): Agent FusionInventory
Version: 2.1
%if 0%{?gitver:1}
-Release: 5.git%{gitver}%{?dist}
-Source0: fusinv-fusioninventory-agent-2.0.4-20-gf7c5492.tar.gz
+Release: 2.git%{gitver}%{?dist}
+# From http://github.com/fusinv/fusioninventory-agent/tarball/master
+Source0: fusinv-fusioninventory-agent-2.1-48-ga7532c0.tar.gz
%else
Release: 1%{?dist}
Source0: http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInventory-Agent-%{version}.tar.gz
%endif
-# http://github.com/fusinv/fusioninventory-agent/commit/75d7e778c108889cad36b17f06eb876181d9d183
-Patch0: fusioninventory-agent.patch
-
Source1: %{name}.cron
Source2: %{name}.init
@@ -105,8 +103,6 @@ EOF
%global __perl_requires %{_builddir}/FusionInventory-Agent-%{version}/%{name}-req
chmod +x %{__perl_requires}
-%patch0 -p0
-
cat <<EOF | tee logrotate
%{_localstatedir}/log/%{name}/*.log {
weekly
@@ -200,7 +196,7 @@ exit 0
%files
%defattr(-, root, root, -)
-%doc AUTHORS Changes LICENSE README THANKS
+%doc AUTHORS Changes LICENSE THANKS
%dir %{_sysconfdir}/fusioninventory
%config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
@@ -218,6 +214,10 @@ exit 0
%changelog
+* Wed Aug 18 2010 Remi Collet <Fedora@famillecollet.com> 2.1-2.gita7532c0
+- update to git snaphost which fix EL issues
+- fix init script
+
* Mon Aug 16 2010 Remi Collet <Fedora@famillecollet.com> 2.1-1
- update to 2.1
- switch download URL back to CPAN