summaryrefslogtreecommitdiffstats
path: root/fusioninventory-agent.spec
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2011-03-31 06:01:14 +0200
committerRemi Collet <fedora@famillecollet.com>2011-03-31 06:01:14 +0200
commitdc9c37c74f87ec353a30773cc13968ddf4894b65 (patch)
tree110baf5b9b3948ef88203240b34c3445f055e95b /fusioninventory-agent.spec
parent63dece106f49747dc735bd6503b55d2b4f4921b7 (diff)
fusioninventory-agent: revert fix for #636 which breaks compatibility
Diffstat (limited to 'fusioninventory-agent.spec')
-rw-r--r--fusioninventory-agent.spec18
1 files changed, 13 insertions, 5 deletions
diff --git a/fusioninventory-agent.spec b/fusioninventory-agent.spec
index e64f69e..72bde3c 100644
--- a/fusioninventory-agent.spec
+++ b/fusioninventory-agent.spec
@@ -4,24 +4,27 @@
Name: fusioninventory-agent
Summary: FusionInventory agent
Summary(fr): Agent FusionInventory
+Group: Applications/System
+License: GPLv2+
+URL: http://fusioninventory.org/
-Version: 2.1.8
+Version: 2.1.8
%if 0%{?gitver:1}
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
+Release: 2
Source0: http://search.cpan.org/CPAN/authors/id/F/FU/FUSINV/FusionInventory-Agent-%{version}%{?prever}.tar.gz
%endif
Source1: %{name}.cron
Source2: %{name}.init
-Group: Applications/System
-License: GPLv2+
-URL: http://fusioninventory.org/
+# See http://forge.fusioninventory.org/issues/636
+# revert this change which break compatibility with previous version
+Patch0: %{name}-revert.patch
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -128,6 +131,8 @@ Le service doit ĂȘtre actif et lancĂ© avec l'option --rpc-trust-localhost.
%setup -q -n FusionInventory-Agent-%{version}%{?prever}
%endif
+%patch0 -p1 -b .revert
+
# This work only on older version, and is ignored on recent
cat <<EOF | tee %{name}-req
#!/bin/sh
@@ -268,6 +273,9 @@ exit 0
%changelog
+* Thu Mar 31 2011 Remi Collet <Fedora@famillecollet.com> 2.1.8-2
+- revert change for issue 656 which breaks compatibility
+
* Wed Mar 30 2011 Remi Collet <Fedora@famillecollet.com> 2.1.8-1
- update to 2.1.8
http://cpansearch.perl.org/src/FUSINV/FusionInventory-Agent-2.1.8/Changes