summaryrefslogtreecommitdiffstats
path: root/fusioninventory-agent-arch.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-04-16 09:51:39 +0200
committerRemi Collet <fedora@famillecollet.com>2012-04-16 09:51:39 +0200
commit56fdd2f113cbd0e7d43447559a15fd7e3e8b389e (patch)
treee30f6e32e0c6c8a3c7887f7d2d0e391e0052ef40 /fusioninventory-agent-arch.patch
parent6f39fae1c6a2bc99091819c9c06d92e23626efe6 (diff)
fusioninventory-agent: revert to previous behavior for software list
Diffstat (limited to 'fusioninventory-agent-arch.patch')
-rw-r--r--fusioninventory-agent-arch.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/fusioninventory-agent-arch.patch b/fusioninventory-agent-arch.patch
new file mode 100644
index 0000000..a882db6
--- /dev/null
+++ b/fusioninventory-agent-arch.patch
@@ -0,0 +1,12 @@
+diff -up FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm.orig FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm
+--- FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm.orig 2012-04-16 09:33:21.000000000 +0200
++++ FusionInventory-Agent-2.2.0/lib/FusionInventory/Agent/Task/Inventory/Input/Generic/Softwares/RPM.pm 2012-04-16 09:33:32.000000000 +0200
+@@ -17,7 +17,7 @@ sub doInventory {
+
+ my $command =
+ 'rpm -qa --queryformat \'' .
+- '%{NAME}\t' .
++ '%{NAME}.%{ARCH}\t' .
+ '%{VERSION}-%{RELEASE}\t' .
+ '%{INSTALLTIME:date}\t' .
+ '%{SIZE}\t' .